2 * FILE : src/msw/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initwindowsc
55 #define SWIG_name "windowsc"
58 #include <wx/menuitem.h>
59 #include <wx/tooltip.h>
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(PanelNameStr
);
90 static const wxString
wxPyEmptyString(wxT(""));
92 class wxPyValidator
: public wxValidator
{
93 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
101 wxObject
* Clone() const {
102 wxPyValidator
* ptr
= NULL
;
103 wxPyValidator
* self
= (wxPyValidator
*)this;
105 wxPyBeginBlockThreads();
106 if (self
->m_myInst
.findCallback("Clone")) {
108 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
110 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
114 wxPyEndBlockThreads();
116 // This is very dangerous!!! But is the only way I could find
117 // to squash a memory leak. Currently it is okay, but if the
118 // validator architecture in wxWindows ever changes, problems
125 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
126 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
127 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
132 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
133 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
136 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
139 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
140 wxWindow
* win
= new wxWindow
;
142 win
->SubclassWin(hWnd
);
146 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
147 return wxWindow::FindWindowById(id
, parent
);
150 wxWindow
* wxFindWindowByName( const wxString
& name
,
151 const wxWindow
*parent
= NULL
) {
152 return wxWindow::FindWindowByName(name
, parent
);
155 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
156 const wxWindow
*parent
= NULL
) {
157 return wxWindow::FindWindowByLabel(label
, parent
);
162 static PyObject
*_wrap_wxWindow_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
163 PyObject
* _resultobj
;
166 char *_kwnames
[] = { "hWnd", NULL
};
169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxWindow_FromHWND",_kwnames
,&_arg0
))
172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
173 _result
= (wxWindow
*)wxWindow_FromHWND(_arg0
);
175 wxPyEndAllowThreads(__tstate
);
176 if (PyErr_Occurred()) return NULL
;
177 }{ _resultobj
= wxPyMake_wxObject(_result
); }
181 static PyObject
*_wrap_wxFindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
185 wxWindow
* _arg1
= (wxWindow
*) NULL
;
186 PyObject
* _argo1
= 0;
187 char *_kwnames
[] = { "id","parent", NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l|O:wxFindWindowById",_kwnames
,&_arg0
,&_argo1
))
193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxWindow
*)wxFindWindowById(_arg0
,_arg1
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
205 }{ _resultobj
= wxPyMake_wxObject(_result
); }
209 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
213 wxWindow
* _arg1
= (wxWindow
*) NULL
;
214 PyObject
* _obj0
= 0;
215 PyObject
* _argo1
= 0;
216 char *_kwnames
[] = { "name","parent", NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
222 _arg0
= wxString_in_helper(_obj0
);
227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
235 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
237 wxPyEndAllowThreads(__tstate
);
238 if (PyErr_Occurred()) return NULL
;
239 }{ _resultobj
= wxPyMake_wxObject(_result
); }
247 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
251 wxWindow
* _arg1
= (wxWindow
*) NULL
;
252 PyObject
* _obj0
= 0;
253 PyObject
* _argo1
= 0;
254 char *_kwnames
[] = { "label","parent", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
260 _arg0
= wxString_in_helper(_obj0
);
265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
273 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
275 wxPyEndAllowThreads(__tstate
);
276 if (PyErr_Occurred()) return NULL
;
277 }{ _resultobj
= wxPyMake_wxObject(_result
); }
285 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
288 src
= (wxEvtHandler
*) ptr
;
289 dest
= (wxObject
*) src
;
290 return (void *) dest
;
293 #define new_wxEvtHandler() (new wxEvtHandler())
294 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
296 wxEvtHandler
* _result
;
297 char *_kwnames
[] = { NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
305 _result
= (wxEvtHandler
*)new_wxEvtHandler();
307 wxPyEndAllowThreads(__tstate
);
308 if (PyErr_Occurred()) return NULL
;
310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
311 _resultobj
= Py_BuildValue("s",_ptemp
);
314 _resultobj
= Py_None
;
319 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
320 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 wxEvtHandler
* _arg0
;
325 PyObject
* _argo0
= 0;
326 PyObject
* _argo1
= 0;
327 char *_kwnames
[] = { "self","event", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
340 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
347 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
349 wxPyEndAllowThreads(__tstate
);
350 if (PyErr_Occurred()) return NULL
;
351 } _resultobj
= Py_BuildValue("i",_result
);
355 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
356 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
358 wxEvtHandler
* _arg0
;
360 PyObject
* _argo0
= 0;
361 PyObject
* _argo1
= 0;
362 char *_kwnames
[] = { "self","event", NULL
};
365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
375 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
386 } Py_INCREF(Py_None
);
387 _resultobj
= Py_None
;
391 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
392 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
395 wxEvtHandler
* _arg0
;
396 PyObject
* _argo0
= 0;
397 char *_kwnames
[] = { "self", NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
411 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
413 wxPyEndAllowThreads(__tstate
);
414 if (PyErr_Occurred()) return NULL
;
415 } _resultobj
= Py_BuildValue("i",_result
);
419 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
420 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
422 wxEvtHandler
* _arg0
;
424 PyObject
* _argo0
= 0;
426 char *_kwnames
[] = { "self","enabled", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
438 _arg1
= (bool ) tempbool1
;
440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
441 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
443 wxPyEndAllowThreads(__tstate
);
444 if (PyErr_Occurred()) return NULL
;
445 } Py_INCREF(Py_None
);
446 _resultobj
= Py_None
;
450 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
451 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
452 PyObject
* _resultobj
;
453 wxEvtHandler
* _result
;
454 wxEvtHandler
* _arg0
;
455 PyObject
* _argo0
= 0;
456 char *_kwnames
[] = { "self", NULL
};
459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
470 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
472 wxPyEndAllowThreads(__tstate
);
473 if (PyErr_Occurred()) return NULL
;
474 }{ _resultobj
= wxPyMake_wxObject(_result
); }
478 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
479 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
481 wxEvtHandler
* _result
;
482 wxEvtHandler
* _arg0
;
483 PyObject
* _argo0
= 0;
484 char *_kwnames
[] = { "self", NULL
};
487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
498 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
500 wxPyEndAllowThreads(__tstate
);
501 if (PyErr_Occurred()) return NULL
;
502 }{ _resultobj
= wxPyMake_wxObject(_result
); }
506 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
507 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
508 PyObject
* _resultobj
;
509 wxEvtHandler
* _arg0
;
510 wxEvtHandler
* _arg1
;
511 PyObject
* _argo0
= 0;
512 PyObject
* _argo1
= 0;
513 char *_kwnames
[] = { "self","handler", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
534 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
536 wxPyEndAllowThreads(__tstate
);
537 if (PyErr_Occurred()) return NULL
;
538 } Py_INCREF(Py_None
);
539 _resultobj
= Py_None
;
543 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
544 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
545 PyObject
* _resultobj
;
546 wxEvtHandler
* _arg0
;
547 wxEvtHandler
* _arg1
;
548 PyObject
* _argo0
= 0;
549 PyObject
* _argo1
= 0;
550 char *_kwnames
[] = { "self","handler", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
571 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
573 wxPyEndAllowThreads(__tstate
);
574 if (PyErr_Occurred()) return NULL
;
575 } Py_INCREF(Py_None
);
576 _resultobj
= Py_None
;
580 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
581 if (PyCallable_Check(func
)) {
582 self
->Connect(id
, lastId
, eventType
,
583 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
584 new wxPyCallback(func
));
586 else if (func
== Py_None
) {
587 self
->Disconnect(id
, lastId
, eventType
,
588 (wxObjectEventFunction
)
589 &wxPyCallback::EventThunker
);
592 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
595 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
597 wxEvtHandler
* _arg0
;
602 PyObject
* _argo0
= 0;
603 PyObject
* _obj4
= 0;
604 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 } Py_INCREF(Py_None
);
626 _resultobj
= Py_None
;
630 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
631 return self
->Disconnect(id
, lastId
, eventType
,
632 (wxObjectEventFunction
)
633 &wxPyCallback::EventThunker
);
635 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 wxEvtHandler
* _arg0
;
640 int _arg2
= (int ) -1;
641 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
642 PyObject
* _argo0
= 0;
643 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
657 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
659 wxPyEndAllowThreads(__tstate
);
660 if (PyErr_Occurred()) return NULL
;
661 } _resultobj
= Py_BuildValue("i",_result
);
665 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
666 self
->SetClientObject(new wxPyOORClientData(_self
));
668 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
670 wxEvtHandler
* _arg0
;
672 PyObject
* _argo0
= 0;
673 PyObject
* _obj1
= 0;
674 char *_kwnames
[] = { "self","_self", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
691 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
693 wxPyEndAllowThreads(__tstate
);
694 if (PyErr_Occurred()) return NULL
;
695 } Py_INCREF(Py_None
);
696 _resultobj
= Py_None
;
700 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
703 src
= (wxValidator
*) ptr
;
704 dest
= (wxEvtHandler
*) src
;
705 return (void *) dest
;
708 static void *SwigwxValidatorTowxObject(void *ptr
) {
711 src
= (wxValidator
*) ptr
;
712 dest
= (wxObject
*) src
;
713 return (void *) dest
;
716 #define new_wxValidator() (new wxValidator())
717 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
719 wxValidator
* _result
;
720 char *_kwnames
[] = { NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= (wxValidator
*)new_wxValidator();
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
733 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
734 _resultobj
= Py_BuildValue("s",_ptemp
);
737 _resultobj
= Py_None
;
742 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
743 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
745 wxValidator
* _result
;
747 PyObject
* _argo0
= 0;
748 char *_kwnames
[] = { "self", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
762 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
764 wxPyEndAllowThreads(__tstate
);
765 if (PyErr_Occurred()) return NULL
;
766 }{ _resultobj
= wxPyMake_wxObject(_result
); }
770 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
771 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
775 PyObject
* _argo0
= 0;
776 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
790 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
792 wxPyEndAllowThreads(__tstate
);
793 if (PyErr_Occurred()) return NULL
;
794 }{ _resultobj
= wxPyMake_wxObject(_result
); }
798 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
799 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
803 PyObject
* _argo0
= 0;
804 PyObject
* _argo1
= 0;
805 char *_kwnames
[] = { "self","window", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
826 wxValidator_SetWindow(_arg0
,_arg1
);
828 wxPyEndAllowThreads(__tstate
);
829 if (PyErr_Occurred()) return NULL
;
830 } Py_INCREF(Py_None
);
831 _resultobj
= Py_None
;
835 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 char *_kwnames
[] = { NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
845 _result
= (bool )wxValidator::IsSilent();
847 wxPyEndAllowThreads(__tstate
);
848 if (PyErr_Occurred()) return NULL
;
849 } _resultobj
= Py_BuildValue("i",_result
);
853 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
855 int _arg0
= (int ) TRUE
;
856 char *_kwnames
[] = { "doIt", NULL
};
859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
863 wxValidator::SetBellOnError(_arg0
);
865 wxPyEndAllowThreads(__tstate
);
866 if (PyErr_Occurred()) return NULL
;
867 } Py_INCREF(Py_None
);
868 _resultobj
= Py_None
;
872 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
875 src
= (wxPyValidator
*) ptr
;
876 dest
= (wxValidator
*) src
;
877 return (void *) dest
;
880 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
883 src
= (wxPyValidator
*) ptr
;
884 dest
= (wxEvtHandler
*) src
;
885 return (void *) dest
;
888 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
891 src
= (wxPyValidator
*) ptr
;
892 dest
= (wxObject
*) src
;
893 return (void *) dest
;
896 #define new_wxPyValidator() (new wxPyValidator())
897 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxPyValidator
* _result
;
900 char *_kwnames
[] = { NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
908 _result
= (wxPyValidator
*)new_wxPyValidator();
910 wxPyEndAllowThreads(__tstate
);
911 if (PyErr_Occurred()) return NULL
;
913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
914 _resultobj
= Py_BuildValue("s",_ptemp
);
917 _resultobj
= Py_None
;
922 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
923 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
925 wxPyValidator
* _arg0
;
928 int _arg3
= (int ) TRUE
;
929 PyObject
* _argo0
= 0;
930 PyObject
* _obj1
= 0;
931 PyObject
* _obj2
= 0;
932 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
956 } Py_INCREF(Py_None
);
957 _resultobj
= Py_None
;
961 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
964 src
= (wxWindow
*) ptr
;
965 dest
= (wxEvtHandler
*) src
;
966 return (void *) dest
;
969 static void *SwigwxWindowTowxObject(void *ptr
) {
972 src
= (wxWindow
*) ptr
;
973 dest
= (wxObject
*) src
;
974 return (void *) dest
;
977 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
978 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
983 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
984 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
985 long _arg4
= (long ) 0;
986 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
987 PyObject
* _argo0
= 0;
989 PyObject
* _obj2
= 0;
991 PyObject
* _obj3
= 0;
992 PyObject
* _obj5
= 0;
993 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
1000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
1009 if (! wxPoint_helper(_obj2
, &_arg2
))
1015 if (! wxSize_helper(_obj3
, &_arg3
))
1020 _arg5
= wxString_in_helper(_obj5
);
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) return NULL
;
1031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1032 _resultobj
= Py_BuildValue("s",_ptemp
);
1035 _resultobj
= Py_None
;
1044 #define new_wxPreWindow() (new wxWindow())
1045 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 char *_kwnames
[] = { NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (wxWindow
*)new_wxPreWindow();
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1062 _resultobj
= Py_BuildValue("s",_ptemp
);
1065 _resultobj
= Py_None
;
1070 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1071 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
* _resultobj
;
1077 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1078 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1079 long _arg5
= (long ) 0;
1080 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
1081 PyObject
* _argo0
= 0;
1082 PyObject
* _argo1
= 0;
1084 PyObject
* _obj3
= 0;
1086 PyObject
* _obj4
= 0;
1087 PyObject
* _obj6
= 0;
1088 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1101 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1102 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1110 if (! wxPoint_helper(_obj3
, &_arg3
))
1116 if (! wxSize_helper(_obj4
, &_arg4
))
1121 _arg6
= wxString_in_helper(_obj6
);
1126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1127 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1129 wxPyEndAllowThreads(__tstate
);
1130 if (PyErr_Occurred()) return NULL
;
1131 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1140 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 int _arg1
= (int ) wxBOTH
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self","direction", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 wxWindow_Center(_arg0
,_arg1
);
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) return NULL
;
1163 } Py_INCREF(Py_None
);
1164 _resultobj
= Py_None
;
1168 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1169 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1172 int _arg1
= (int ) wxBOTH
;
1173 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self","direction", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1188 wxWindow_Centre(_arg0
,_arg1
);
1190 wxPyEndAllowThreads(__tstate
);
1191 if (PyErr_Occurred()) return NULL
;
1192 } Py_INCREF(Py_None
);
1193 _resultobj
= Py_None
;
1197 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1198 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1201 int _arg1
= (int ) wxBOTH
;
1202 PyObject
* _argo0
= 0;
1203 char *_kwnames
[] = { "self","direction", NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 wxWindow_CentreOnParent(_arg0
,_arg1
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1227 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1230 int _arg1
= (int ) wxBOTH
;
1231 PyObject
* _argo0
= 0;
1232 char *_kwnames
[] = { "self","direction", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1246 wxWindow_CenterOnParent(_arg0
,_arg1
);
1248 wxPyEndAllowThreads(__tstate
);
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1256 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
* _resultobj
;
1259 int _arg1
= (int ) wxBOTH
;
1260 PyObject
* _argo0
= 0;
1261 char *_kwnames
[] = { "self","direction", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) return NULL
;
1279 } Py_INCREF(Py_None
);
1280 _resultobj
= Py_None
;
1284 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1285 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1288 int _arg1
= (int ) wxBOTH
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self","direction", NULL
};
1293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } Py_INCREF(Py_None
);
1309 _resultobj
= Py_None
;
1313 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1314 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1332 wxWindow_Clear(_arg0
);
1334 wxPyEndAllowThreads(__tstate
);
1335 if (PyErr_Occurred()) return NULL
;
1336 } Py_INCREF(Py_None
);
1337 _resultobj
= Py_None
;
1341 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1342 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1347 PyObject
* _argo0
= 0;
1349 PyObject
* _obj1
= 0;
1351 PyObject
* _obj2
= 0;
1352 char *_kwnames
[] = { "self","x","y", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1365 temp
= (int) PyInt_AsLong(_obj1
);
1369 temp0
= (int) PyInt_AsLong(_obj2
);
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) return NULL
;
1378 } Py_INCREF(Py_None
);
1379 _resultobj
= Py_None
;
1382 o
= PyInt_FromLong((long) (*_arg1
));
1383 _resultobj
= t_output_helper(_resultobj
, o
);
1387 o
= PyInt_FromLong((long) (*_arg2
));
1388 _resultobj
= t_output_helper(_resultobj
, o
);
1393 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1394 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1401 PyObject
* _obj1
= 0;
1402 char *_kwnames
[] = { "self","pt", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1417 if (! wxPoint_helper(_obj1
, &_arg1
))
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1432 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1436 int _arg1
= (int ) FALSE
;
1437 PyObject
* _argo0
= 0;
1438 char *_kwnames
[] = { "self","force", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1452 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1454 wxPyEndAllowThreads(__tstate
);
1455 if (PyErr_Occurred()) return NULL
;
1456 } _resultobj
= Py_BuildValue("i",_result
);
1460 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1461 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1465 PyObject
* _argo0
= 0;
1466 char *_kwnames
[] = { "self", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 _result
= (bool )wxWindow_Destroy(_arg0
);
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) return NULL
;
1484 } _resultobj
= Py_BuildValue("i",_result
);
1488 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1489 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1490 PyObject
* _resultobj
;
1492 PyObject
* _argo0
= 0;
1493 char *_kwnames
[] = { "self", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 wxWindow_DestroyChildren(_arg0
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1517 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 char *_kwnames
[] = { "self", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) return NULL
;
1540 } _resultobj
= Py_BuildValue("i",_result
);
1544 #define wxWindow_DragAcceptFiles(_swigobj,_swigarg0) (_swigobj->DragAcceptFiles(_swigarg0))
1545 static PyObject
*_wrap_wxWindow_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1549 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self","accept", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_DragAcceptFiles",_kwnames
,&_argo0
,&tempbool1
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DragAcceptFiles. Expected _wxWindow_p.");
1563 _arg1
= (bool ) tempbool1
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 wxWindow_DragAcceptFiles(_arg0
,_arg1
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) return NULL
;
1570 } Py_INCREF(Py_None
);
1571 _resultobj
= Py_None
;
1575 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1576 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1582 char *_kwnames
[] = { "self","enable", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1594 _arg1
= (bool ) tempbool1
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 wxWindow_Enable(_arg0
,_arg1
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) return NULL
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 #define wxWindow_Disable(_swigobj) (_swigobj->Disable())
1607 static PyObject
*_wrap_wxWindow_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1610 PyObject
* _argo0
= 0;
1611 char *_kwnames
[] = { "self", NULL
};
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Disable",_kwnames
,&_argo0
))
1617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Disable. Expected _wxWindow_p.");
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 wxWindow_Disable(_arg0
);
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) return NULL
;
1629 } Py_INCREF(Py_None
);
1630 _resultobj
= Py_None
;
1634 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1635 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "self","id", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1659 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1663 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1664 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1669 PyObject
* _argo0
= 0;
1670 PyObject
* _obj1
= 0;
1671 char *_kwnames
[] = { "self","name", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1684 _arg1
= wxString_in_helper(_obj1
);
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1702 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1703 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 wxWindow_Fit(_arg0
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1725 } Py_INCREF(Py_None
);
1726 _resultobj
= Py_None
;
1730 #define wxWindow_FitInside(_swigobj) (_swigobj->FitInside())
1731 static PyObject
*_wrap_wxWindow_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1734 PyObject
* _argo0
= 0;
1735 char *_kwnames
[] = { "self", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_FitInside",_kwnames
,&_argo0
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FitInside. Expected _wxWindow_p.");
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 wxWindow_FitInside(_arg0
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) return NULL
;
1753 } Py_INCREF(Py_None
);
1754 _resultobj
= Py_None
;
1758 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1759 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 char *_kwnames
[] = { "self", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) return NULL
;
1783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1784 _resultobj
= Py_BuildValue("s",_ptemp
);
1788 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1789 wxWindowList
& list
= self
->GetChildren();
1790 return wxPy_ConvertList(&list
, "wxWindow");
1792 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1796 PyObject
* _argo0
= 0;
1797 char *_kwnames
[] = { "self", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) return NULL
;
1816 _resultobj
= _result
;
1821 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1822 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1826 PyObject
* _argo0
= 0;
1827 char *_kwnames
[] = { "self", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) return NULL
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1850 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 PyObject
* _argo0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1878 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1885 PyObject
* _argo0
= 0;
1886 char *_kwnames
[] = { "self", NULL
};
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1906 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1908 wxPyEndAllowThreads(__tstate
);
1909 if (PyErr_Occurred()) return NULL
;
1910 } Py_INCREF(Py_None
);
1911 _resultobj
= Py_None
;
1914 o
= PyInt_FromLong((long) (*_arg1
));
1915 _resultobj
= t_output_helper(_resultobj
, o
);
1919 o
= PyInt_FromLong((long) (*_arg2
));
1920 _resultobj
= t_output_helper(_resultobj
, o
);
1925 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1926 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) return NULL
;
1950 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1951 _resultobj
= Py_BuildValue("s",_ptemp
);
1955 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1956 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1960 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self", NULL
};
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1981 _resultobj
= Py_BuildValue("s",_ptemp
);
1985 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1986 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1990 PyObject
* _argo0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
2005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2006 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
2008 wxPyEndAllowThreads(__tstate
);
2009 if (PyErr_Occurred()) return NULL
;
2010 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2011 _resultobj
= Py_BuildValue("s",_ptemp
);
2015 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
2016 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
* _resultobj
;
2018 wxLayoutConstraints
* _result
;
2020 PyObject
* _argo0
= 0;
2021 char *_kwnames
[] = { "self", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
2028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
2042 _resultobj
= Py_BuildValue("s",_ptemp
);
2045 _resultobj
= Py_None
;
2050 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
2051 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2053 wxEvtHandler
* _result
;
2055 PyObject
* _argo0
= 0;
2056 char *_kwnames
[] = { "self", NULL
};
2059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
2062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) return NULL
;
2074 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2078 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2079 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self", NULL
};
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
2091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 _result
= new wxFont (wxWindow_GetFont(_arg0
));
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) return NULL
;
2103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2104 _resultobj
= Py_BuildValue("s",_ptemp
);
2108 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2109 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) return NULL
;
2133 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2134 _resultobj
= Py_BuildValue("s",_ptemp
);
2138 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2139 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2158 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2160 wxPyEndAllowThreads(__tstate
);
2161 if (PyErr_Occurred()) return NULL
;
2162 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2166 static long wxWindow_GetHandle(wxWindow
*self
) {
2167 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2169 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 _result
= (long )wxWindow_GetHandle(_arg0
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) return NULL
;
2192 } _resultobj
= Py_BuildValue("l",_result
);
2196 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2197 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 _result
= (int )wxWindow_GetId(_arg0
);
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) return NULL
;
2220 } _resultobj
= Py_BuildValue("i",_result
);
2224 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2225 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) return NULL
;
2250 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2252 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2261 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2262 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2266 PyObject
* _argo0
= 0;
2267 PyObject
* _obj1
= 0;
2268 char *_kwnames
[] = { "self","label", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2281 _arg1
= wxString_in_helper(_obj1
);
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 wxWindow_SetLabel(_arg0
,*_arg1
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) return NULL
;
2291 } Py_INCREF(Py_None
);
2292 _resultobj
= Py_None
;
2300 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2301 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 _result
= new wxString (wxWindow_GetName(_arg0
));
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) return NULL
;
2326 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2328 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2337 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2338 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2342 PyObject
* _argo0
= 0;
2343 char *_kwnames
[] = { "self", NULL
};
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2361 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2365 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2366 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 char *_kwnames
[] = { "self", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) return NULL
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2402 o
= PyInt_FromLong((long) (*_arg1
));
2403 _resultobj
= t_output_helper(_resultobj
, o
);
2407 o
= PyInt_FromLong((long) (*_arg2
));
2408 _resultobj
= t_output_helper(_resultobj
, o
);
2413 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2414 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2418 PyObject
* _argo0
= 0;
2419 char *_kwnames
[] = { "self", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) return NULL
;
2438 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2439 _resultobj
= Py_BuildValue("s",_ptemp
);
2443 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2444 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2448 PyObject
* _argo0
= 0;
2449 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2468 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2469 _resultobj
= Py_BuildValue("s",_ptemp
);
2473 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2474 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self","orientation", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) return NULL
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2503 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2508 PyObject
* _argo0
= 0;
2509 char *_kwnames
[] = { "self","orientation", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) return NULL
;
2527 } _resultobj
= Py_BuildValue("i",_result
);
2531 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2532 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2537 PyObject
* _argo0
= 0;
2538 char *_kwnames
[] = { "self","orientation", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } _resultobj
= Py_BuildValue("i",_result
);
2560 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2561 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2568 PyObject
* _argo0
= 0;
2569 char *_kwnames
[] = { "self", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2597 o
= PyInt_FromLong((long) (*_arg1
));
2598 _resultobj
= t_output_helper(_resultobj
, o
);
2602 o
= PyInt_FromLong((long) (*_arg2
));
2603 _resultobj
= t_output_helper(_resultobj
, o
);
2608 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2609 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2613 PyObject
* _argo0
= 0;
2614 char *_kwnames
[] = { "self", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2629 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2631 wxPyEndAllowThreads(__tstate
);
2632 if (PyErr_Occurred()) return NULL
;
2633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2634 _resultobj
= Py_BuildValue("s",_ptemp
);
2638 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2639 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2648 PyObject
* _obj1
= 0;
2649 char *_kwnames
[] = { "self","string", NULL
};
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2668 _arg1
= wxString_in_helper(_obj1
);
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) return NULL
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2682 o
= PyInt_FromLong((long) (*_arg2
));
2683 _resultobj
= t_output_helper(_resultobj
, o
);
2687 o
= PyInt_FromLong((long) (*_arg3
));
2688 _resultobj
= t_output_helper(_resultobj
, o
);
2697 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2698 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2710 wxFont
* _arg6
= (wxFont
*) NULL
;
2711 PyObject
* _argo0
= 0;
2712 PyObject
* _obj1
= 0;
2713 PyObject
* _argo6
= 0;
2714 char *_kwnames
[] = { "self","string","font", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2739 _arg1
= wxString_in_helper(_obj1
);
2744 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } Py_INCREF(Py_None
);
2757 _resultobj
= Py_None
;
2760 o
= PyInt_FromLong((long) (*_arg2
));
2761 _resultobj
= t_output_helper(_resultobj
, o
);
2765 o
= PyInt_FromLong((long) (*_arg3
));
2766 _resultobj
= t_output_helper(_resultobj
, o
);
2770 o
= PyInt_FromLong((long) (*_arg4
));
2771 _resultobj
= t_output_helper(_resultobj
, o
);
2775 o
= PyInt_FromLong((long) (*_arg5
));
2776 _resultobj
= t_output_helper(_resultobj
, o
);
2785 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2786 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2790 PyObject
* _argo0
= 0;
2791 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) return NULL
;
2811 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2813 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2822 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2823 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2827 PyObject
* _argo0
= 0;
2828 char *_kwnames
[] = { "self", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2848 _resultobj
= Py_BuildValue("s",_ptemp
);
2852 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2853 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2876 } _resultobj
= Py_BuildValue("l",_result
);
2880 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2881 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self","style", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2900 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) return NULL
;
2904 } Py_INCREF(Py_None
);
2905 _resultobj
= Py_None
;
2909 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2910 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
* _resultobj
;
2914 PyObject
* _argo0
= 0;
2915 char *_kwnames
[] = { "self","style", NULL
};
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) return NULL
;
2933 } Py_INCREF(Py_None
);
2934 _resultobj
= Py_None
;
2938 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2939 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2944 PyObject
* _argo0
= 0;
2945 char *_kwnames
[] = { "self","orient", NULL
};
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } _resultobj
= Py_BuildValue("i",_result
);
2967 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2968 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 _result
= (bool )wxWindow_Hide(_arg0
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } _resultobj
= Py_BuildValue("i",_result
);
2995 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2996 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3003 PyObject
* _obj1
= 0;
3004 char *_kwnames
[] = { "self","pt", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
3018 if (! wxPoint_helper(_obj1
, &_arg1
))
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) return NULL
;
3027 } _resultobj
= Py_BuildValue("i",_result
);
3031 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
3032 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 wxWindow_InitDialog(_arg0
);
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) return NULL
;
3054 } Py_INCREF(Py_None
);
3055 _resultobj
= Py_None
;
3059 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3060 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3064 PyObject
* _argo0
= 0;
3065 char *_kwnames
[] = { "self", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 _result
= (bool )wxWindow_IsEnabled(_arg0
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) return NULL
;
3083 } _resultobj
= Py_BuildValue("i",_result
);
3087 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3088 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3094 int _arg3
= (int ) 0;
3095 int _arg4
= (int ) 0;
3096 PyObject
* _argo0
= 0;
3097 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) return NULL
;
3115 } _resultobj
= Py_BuildValue("i",_result
);
3119 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3120 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3125 PyObject
* _argo0
= 0;
3127 PyObject
* _obj1
= 0;
3128 char *_kwnames
[] = { "self","pt", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3142 if (! wxPoint_helper(_obj1
, &_arg1
))
3146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3147 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3149 wxPyEndAllowThreads(__tstate
);
3150 if (PyErr_Occurred()) return NULL
;
3151 } _resultobj
= Py_BuildValue("i",_result
);
3155 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3156 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
* _resultobj
;
3161 PyObject
* _argo0
= 0;
3163 PyObject
* _obj1
= 0;
3164 char *_kwnames
[] = { "self","rect", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3178 if (! wxRect_helper(_obj1
, &_arg1
))
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) return NULL
;
3187 } _resultobj
= Py_BuildValue("i",_result
);
3191 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3192 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3196 PyObject
* _argo0
= 0;
3197 char *_kwnames
[] = { "self", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 _result
= (bool )wxWindow_IsRetained(_arg0
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) return NULL
;
3215 } _resultobj
= Py_BuildValue("i",_result
);
3219 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3220 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3224 PyObject
* _argo0
= 0;
3225 char *_kwnames
[] = { "self", NULL
};
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 _result
= (bool )wxWindow_IsShown(_arg0
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) return NULL
;
3243 } _resultobj
= Py_BuildValue("i",_result
);
3247 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3248 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3252 PyObject
* _argo0
= 0;
3253 char *_kwnames
[] = { "self", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } _resultobj
= Py_BuildValue("i",_result
);
3275 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3276 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
* _resultobj
;
3279 PyObject
* _argo0
= 0;
3280 char *_kwnames
[] = { "self", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxWindow_Layout(_arg0
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) return NULL
;
3298 } Py_INCREF(Py_None
);
3299 _resultobj
= Py_None
;
3303 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3304 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3307 PyObject
* _argo0
= 0;
3308 char *_kwnames
[] = { "self", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxWindow_Lower(_arg0
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3332 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3335 bool _arg1
= (bool ) TRUE
;
3336 PyObject
* _argo0
= 0;
3337 int tempbool1
= (int) TRUE
;
3338 char *_kwnames
[] = { "self","flag", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3350 _arg1
= (bool ) tempbool1
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 wxWindow_MakeModal(_arg0
,_arg1
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) return NULL
;
3357 } Py_INCREF(Py_None
);
3358 _resultobj
= Py_None
;
3362 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3363 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3368 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3369 PyObject
* _argo0
= 0;
3370 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) return NULL
;
3388 } Py_INCREF(Py_None
);
3389 _resultobj
= Py_None
;
3393 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3394 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
* _resultobj
;
3398 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3399 PyObject
* _argo0
= 0;
3401 PyObject
* _obj1
= 0;
3402 char *_kwnames
[] = { "self","point","flags", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3416 if (! wxPoint_helper(_obj1
, &_arg1
))
3420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3421 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3423 wxPyEndAllowThreads(__tstate
);
3424 if (PyErr_Occurred()) return NULL
;
3425 } Py_INCREF(Py_None
);
3426 _resultobj
= Py_None
;
3430 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3431 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3433 wxEvtHandler
* _result
;
3435 bool _arg1
= (bool ) FALSE
;
3436 PyObject
* _argo0
= 0;
3437 int tempbool1
= (int) FALSE
;
3438 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3450 _arg1
= (bool ) tempbool1
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) return NULL
;
3457 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3461 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3462 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
* _resultobj
;
3465 wxEvtHandler
* _arg1
;
3466 PyObject
* _argo0
= 0;
3467 PyObject
* _argo1
= 0;
3468 char *_kwnames
[] = { "self","handler", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxWindow_PushEventHandler(_arg0
,_arg1
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) return NULL
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3499 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3503 wxEvtHandler
* _arg1
;
3504 PyObject
* _argo0
= 0;
3505 PyObject
* _argo1
= 0;
3506 char *_kwnames
[] = { "self","handler", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3536 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3543 PyObject
* _argo0
= 0;
3544 PyObject
* _argo1
= 0;
3545 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) return NULL
;
3570 } _resultobj
= Py_BuildValue("i",_result
);
3574 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3575 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
* _resultobj
;
3581 PyObject
* _argo0
= 0;
3582 PyObject
* _argo1
= 0;
3584 PyObject
* _obj2
= 0;
3585 char *_kwnames
[] = { "self","menu","pos", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3606 if (! wxPoint_helper(_obj2
, &_arg2
))
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) return NULL
;
3615 } _resultobj
= Py_BuildValue("i",_result
);
3619 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3620 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3623 PyObject
* _argo0
= 0;
3624 char *_kwnames
[] = { "self", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 wxWindow_Raise(_arg0
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3642 } Py_INCREF(Py_None
);
3643 _resultobj
= Py_None
;
3647 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3648 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3651 bool _arg1
= (bool ) TRUE
;
3652 wxRect
* _arg2
= (wxRect
*) NULL
;
3653 PyObject
* _argo0
= 0;
3654 int tempbool1
= (int) TRUE
;
3656 PyObject
* _obj2
= 0;
3657 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3669 _arg1
= (bool ) tempbool1
;
3673 if (! wxRect_helper(_obj2
, &_arg2
))
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) return NULL
;
3682 } Py_INCREF(Py_None
);
3683 _resultobj
= Py_None
;
3687 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3688 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3692 PyObject
* _argo0
= 0;
3694 PyObject
* _obj1
= 0;
3695 char *_kwnames
[] = { "self","rect", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3709 if (! wxRect_helper(_obj1
, &_arg1
))
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 wxWindow_RefreshRect(_arg0
,*_arg1
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) return NULL
;
3718 } Py_INCREF(Py_None
);
3719 _resultobj
= Py_None
;
3723 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3724 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3728 PyObject
* _argo0
= 0;
3729 PyObject
* _argo1
= 0;
3730 char *_kwnames
[] = { "self","child", NULL
};
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_AddChild",_kwnames
,&_argo0
,&_argo1
))
3736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 wxWindow_AddChild(_arg0
,_arg1
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) return NULL
;
3755 } Py_INCREF(Py_None
);
3756 _resultobj
= Py_None
;
3760 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3761 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3766 PyObject
* _argo1
= 0;
3767 char *_kwnames
[] = { "self","child", NULL
};
3770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 wxWindow_RemoveChild(_arg0
,_arg1
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3792 } Py_INCREF(Py_None
);
3793 _resultobj
= Py_None
;
3797 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3798 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3803 PyObject
* _argo0
= 0;
3804 PyObject
* _argo1
= 0;
3805 char *_kwnames
[] = { "self","newParent", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) return NULL
;
3830 } _resultobj
= Py_BuildValue("i",_result
);
3834 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3835 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
* _resultobj
;
3840 PyObject
* _argo0
= 0;
3842 PyObject
* _obj1
= 0;
3844 PyObject
* _obj2
= 0;
3845 char *_kwnames
[] = { "self","x","y", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3858 temp
= (int) PyInt_AsLong(_obj1
);
3862 temp0
= (int) PyInt_AsLong(_obj2
);
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3875 o
= PyInt_FromLong((long) (*_arg1
));
3876 _resultobj
= t_output_helper(_resultobj
, o
);
3880 o
= PyInt_FromLong((long) (*_arg2
));
3881 _resultobj
= t_output_helper(_resultobj
, o
);
3886 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3887 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3892 PyObject
* _argo0
= 0;
3894 PyObject
* _obj1
= 0;
3895 char *_kwnames
[] = { "self","pt", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3910 if (! wxPoint_helper(_obj1
, &_arg1
))
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) return NULL
;
3919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3920 _resultobj
= Py_BuildValue("s",_ptemp
);
3924 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3925 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
* _resultobj
;
3930 wxRect
* _arg3
= (wxRect
*) NULL
;
3931 PyObject
* _argo0
= 0;
3933 PyObject
* _obj3
= 0;
3934 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3949 if (! wxRect_helper(_obj3
, &_arg3
))
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 } Py_INCREF(Py_None
);
3959 _resultobj
= Py_None
;
3963 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3964 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3968 PyObject
* _argo0
= 0;
3970 char *_kwnames
[] = { "self","autoLayout", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3982 _arg1
= (bool ) tempbool1
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) return NULL
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3995 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3999 PyObject
* _argo0
= 0;
4000 char *_kwnames
[] = { "self", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) return NULL
;
4018 } _resultobj
= Py_BuildValue("i",_result
);
4022 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4023 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4027 PyObject
* _argo0
= 0;
4029 PyObject
* _obj1
= 0;
4030 char *_kwnames
[] = { "self","colour", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
4044 if (! wxColour_helper(_obj1
, &_arg1
))
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) return NULL
;
4053 } Py_INCREF(Py_None
);
4054 _resultobj
= Py_None
;
4058 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4059 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4062 wxLayoutConstraints
* _arg1
;
4063 PyObject
* _argo0
= 0;
4064 PyObject
* _argo1
= 0;
4065 char *_kwnames
[] = { "self","constraints", NULL
};
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxWindow_SetConstraints(_arg0
,_arg1
);
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) return NULL
;
4090 } Py_INCREF(Py_None
);
4091 _resultobj
= Py_None
;
4095 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4096 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4099 wxLayoutConstraints
* _arg1
;
4100 PyObject
* _argo0
= 0;
4101 PyObject
* _argo1
= 0;
4102 char *_kwnames
[] = { "self","constraints", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4115 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) return NULL
;
4127 } Py_INCREF(Py_None
);
4128 _resultobj
= Py_None
;
4132 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4133 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxWindow_SetFocus(_arg0
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } Py_INCREF(Py_None
);
4156 _resultobj
= Py_None
;
4160 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4161 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "self", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxWindow_SetFocusFromKbd(_arg0
);
4181 wxPyEndAllowThreads(__tstate
);
4182 if (PyErr_Occurred()) return NULL
;
4183 } Py_INCREF(Py_None
);
4184 _resultobj
= Py_None
;
4188 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4189 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4193 PyObject
* _argo0
= 0;
4194 char *_kwnames
[] = { "self", NULL
};
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) return NULL
;
4212 } _resultobj
= Py_BuildValue("i",_result
);
4216 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4217 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4221 PyObject
* _argo0
= 0;
4222 PyObject
* _argo1
= 0;
4223 char *_kwnames
[] = { "self","font", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4236 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 wxWindow_SetFont(_arg0
,*_arg1
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) return NULL
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4252 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4253 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4257 PyObject
* _argo0
= 0;
4259 PyObject
* _obj1
= 0;
4260 char *_kwnames
[] = { "self","colour", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4274 if (! wxColour_helper(_obj1
, &_arg1
))
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) return NULL
;
4283 } Py_INCREF(Py_None
);
4284 _resultobj
= Py_None
;
4288 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4289 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 PyObject
* _argo0
= 0;
4294 char *_kwnames
[] = { "self","id", NULL
};
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 wxWindow_SetId(_arg0
,_arg1
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) return NULL
;
4312 } Py_INCREF(Py_None
);
4313 _resultobj
= Py_None
;
4317 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4318 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4322 PyObject
* _argo0
= 0;
4323 PyObject
* _obj1
= 0;
4324 char *_kwnames
[] = { "self","name", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4337 _arg1
= wxString_in_helper(_obj1
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 wxWindow_SetName(_arg0
,*_arg1
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) return NULL
;
4347 } Py_INCREF(Py_None
);
4348 _resultobj
= Py_None
;
4356 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4357 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4364 int _arg5
= (int ) TRUE
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4389 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4390 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4395 bool _arg3
= (bool ) TRUE
;
4396 PyObject
* _argo0
= 0;
4397 int tempbool3
= (int) TRUE
;
4398 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4410 _arg3
= (bool ) tempbool3
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) return NULL
;
4417 } Py_INCREF(Py_None
);
4418 _resultobj
= Py_None
;
4422 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4423 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4430 int _arg5
= (int ) wxSIZE_AUTO
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) return NULL
;
4450 } Py_INCREF(Py_None
);
4451 _resultobj
= Py_None
;
4455 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4456 self
->SetSize(size
);
4458 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4462 PyObject
* _argo0
= 0;
4464 PyObject
* _obj1
= 0;
4465 char *_kwnames
[] = { "self","size", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4479 if (! wxSize_helper(_obj1
, &_arg1
))
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 wxWindow_SetSize(_arg0
,*_arg1
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) return NULL
;
4488 } Py_INCREF(Py_None
);
4489 _resultobj
= Py_None
;
4493 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4494 self
->Move(pos
, flags
);
4496 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4500 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4501 PyObject
* _argo0
= 0;
4503 PyObject
* _obj1
= 0;
4504 char *_kwnames
[] = { "self","pos","flags", NULL
};
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4518 if (! wxPoint_helper(_obj1
, &_arg1
))
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4533 self
->SetSize(rect
, sizeFlags
);
4535 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
* _resultobj
;
4539 int _arg2
= (int ) wxSIZE_AUTO
;
4540 PyObject
* _argo0
= 0;
4542 PyObject
* _obj1
= 0;
4543 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4557 if (! wxRect_helper(_obj1
, &_arg1
))
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) return NULL
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4572 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4577 int _arg3
= (int ) -1;
4578 int _arg4
= (int ) -1;
4579 int _arg5
= (int ) -1;
4580 int _arg6
= (int ) -1;
4581 PyObject
* _argo0
= 0;
4582 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4596 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4598 wxPyEndAllowThreads(__tstate
);
4599 if (PyErr_Occurred()) return NULL
;
4600 } Py_INCREF(Py_None
);
4601 _resultobj
= Py_None
;
4605 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4606 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
* _resultobj
;
4611 int _arg3
= (int ) -1;
4612 int _arg4
= (int ) -1;
4613 PyObject
* _argo0
= 0;
4614 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4632 } Py_INCREF(Py_None
);
4633 _resultobj
= Py_None
;
4637 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4638 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4642 PyObject
* _argo0
= 0;
4644 PyObject
* _obj1
= 0;
4645 char *_kwnames
[] = { "self","size", NULL
};
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetVirtualSize",_kwnames
,&_argo0
,&_obj1
))
4651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4659 if (! wxSize_helper(_obj1
, &_arg1
))
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) return NULL
;
4668 } Py_INCREF(Py_None
);
4669 _resultobj
= Py_None
;
4673 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4674 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self","x","y", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) return NULL
;
4698 } Py_INCREF(Py_None
);
4699 _resultobj
= Py_None
;
4703 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4704 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4708 PyObject
* _argo0
= 0;
4709 char *_kwnames
[] = { "self", NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) return NULL
;
4728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4729 _resultobj
= Py_BuildValue("s",_ptemp
);
4733 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4734 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) return NULL
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4770 o
= PyInt_FromLong((long) (*_arg1
));
4771 _resultobj
= t_output_helper(_resultobj
, o
);
4775 o
= PyInt_FromLong((long) (*_arg2
));
4776 _resultobj
= t_output_helper(_resultobj
, o
);
4781 #define wxWindow_GetBestVirtualSize(_swigobj) (_swigobj->GetBestVirtualSize())
4782 static PyObject
*_wrap_wxWindow_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestVirtualSize",_kwnames
,&_argo0
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestVirtualSize. Expected _wxWindow_p.");
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 _result
= new wxSize (wxWindow_GetBestVirtualSize(_arg0
));
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) return NULL
;
4806 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4807 _resultobj
= Py_BuildValue("s",_ptemp
);
4811 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4812 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4817 PyObject
* _argo0
= 0;
4818 char *_kwnames
[] = { "self","width","height", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) return NULL
;
4836 } Py_INCREF(Py_None
);
4837 _resultobj
= Py_None
;
4841 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4842 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4848 PyObject
* _obj1
= 0;
4849 char *_kwnames
[] = { "self","size", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4863 if (! wxSize_helper(_obj1
, &_arg1
))
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 wxWindow_SetClientSize(_arg0
,*_arg1
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) return NULL
;
4872 } Py_INCREF(Py_None
);
4873 _resultobj
= Py_None
;
4877 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4878 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4883 PyObject
* _argo0
= 0;
4884 PyObject
* _argo1
= 0;
4885 char *_kwnames
[] = { "self","cursor", NULL
};
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4898 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 _result
= (bool )wxWindow_SetCursor(_arg0
,*_arg1
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) return NULL
;
4909 } _resultobj
= Py_BuildValue("i",_result
);
4913 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4914 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4918 PyObject
* _argo0
= 0;
4919 char *_kwnames
[] = { "self", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCursor",_kwnames
,&_argo0
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 wxCursor
& _result_ref
= wxWindow_GetCursor(_arg0
);
4935 _result
= (wxCursor
*) &_result_ref
;
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) return NULL
;
4940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
4941 _resultobj
= Py_BuildValue("s",_ptemp
);
4944 _resultobj
= Py_None
;
4949 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4950 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4953 wxEvtHandler
* _arg1
;
4954 PyObject
* _argo0
= 0;
4955 PyObject
* _argo1
= 0;
4956 char *_kwnames
[] = { "self","handler", NULL
};
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4969 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 wxWindow_SetEventHandler(_arg0
,_arg1
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) return NULL
;
4981 } Py_INCREF(Py_None
);
4982 _resultobj
= Py_None
;
4986 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4987 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4991 PyObject
* _argo0
= 0;
4992 char *_kwnames
[] = { "self","exStyle", NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxWindow_SetExtraStyle(_arg0
,_arg1
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } Py_INCREF(Py_None
);
5011 _resultobj
= Py_None
;
5015 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
5016 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
* _resultobj
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _obj1
= 0;
5022 char *_kwnames
[] = { "self","title", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
5035 _arg1
= wxString_in_helper(_obj1
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 wxWindow_SetTitle(_arg0
,*_arg1
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5054 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5055 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
* _resultobj
;
5059 bool _arg1
= (bool ) TRUE
;
5060 PyObject
* _argo0
= 0;
5061 int tempbool1
= (int) TRUE
;
5062 char *_kwnames
[] = { "self","show", NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5074 _arg1
= (bool ) tempbool1
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) return NULL
;
5081 } _resultobj
= Py_BuildValue("i",_result
);
5085 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5086 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
* _resultobj
;
5090 PyObject
* _argo0
= 0;
5091 char *_kwnames
[] = { "self", NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
5097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) return NULL
;
5109 } _resultobj
= Py_BuildValue("i",_result
);
5113 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5114 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5118 PyObject
* _argo0
= 0;
5119 char *_kwnames
[] = { "self", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) return NULL
;
5137 } _resultobj
= Py_BuildValue("i",_result
);
5141 #define wxWindow_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
5142 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5145 long _arg1
= (long ) wxUPDATE_UI_NONE
;
5146 PyObject
* _argo0
= 0;
5147 char *_kwnames
[] = { "self","flags", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
,&_arg1
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 wxWindow_UpdateWindowUI(_arg0
,_arg1
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) return NULL
;
5165 } Py_INCREF(Py_None
);
5166 _resultobj
= Py_None
;
5170 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5171 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
* _resultobj
;
5175 PyObject
* _argo0
= 0;
5176 char *_kwnames
[] = { "self", NULL
};
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
5182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 _result
= (bool )wxWindow_Validate(_arg0
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) return NULL
;
5194 } _resultobj
= Py_BuildValue("i",_result
);
5198 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5199 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
* _resultobj
;
5204 PyObject
* _argo0
= 0;
5206 PyObject
* _obj1
= 0;
5207 char *_kwnames
[] = { "self","pt", NULL
};
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5222 if (! wxPoint_helper(_obj1
, &_arg1
))
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) return NULL
;
5231 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5232 _resultobj
= Py_BuildValue("s",_ptemp
);
5236 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5237 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5242 PyObject
* _argo0
= 0;
5244 PyObject
* _obj1
= 0;
5245 char *_kwnames
[] = { "self","sz", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5260 if (! wxSize_helper(_obj1
, &_arg1
))
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) return NULL
;
5269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5270 _resultobj
= Py_BuildValue("s",_ptemp
);
5274 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5275 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5280 PyObject
* _argo0
= 0;
5282 PyObject
* _obj1
= 0;
5283 char *_kwnames
[] = { "self","pt", NULL
};
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5298 if (! wxPoint_helper(_obj1
, &_arg1
))
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5307 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5308 _resultobj
= Py_BuildValue("s",_ptemp
);
5312 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5313 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
* _resultobj
;
5318 PyObject
* _argo0
= 0;
5320 PyObject
* _obj1
= 0;
5321 char *_kwnames
[] = { "self","sz", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5336 if (! wxSize_helper(_obj1
, &_arg1
))
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) return NULL
;
5345 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5346 _resultobj
= Py_BuildValue("s",_ptemp
);
5350 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5351 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5355 PyObject
* _argo0
= 0;
5356 PyObject
* _obj1
= 0;
5357 char *_kwnames
[] = { "self","tip", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5370 _arg1
= wxString_in_helper(_obj1
);
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) return NULL
;
5380 } Py_INCREF(Py_None
);
5381 _resultobj
= Py_None
;
5389 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5390 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5394 PyObject
* _argo0
= 0;
5395 PyObject
* _argo1
= 0;
5396 char *_kwnames
[] = { "self","tooltip", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5409 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxWindow_SetToolTip(_arg0
,_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5426 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5427 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
* _resultobj
;
5429 wxToolTip
* _result
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5454 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5455 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
* _resultobj
;
5459 bool _arg2
= (bool ) TRUE
;
5460 PyObject
* _argo0
= 0;
5461 PyObject
* _argo1
= 0;
5462 int tempbool2
= (int) TRUE
;
5463 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5482 _arg2
= (bool ) tempbool2
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) return NULL
;
5489 } Py_INCREF(Py_None
);
5490 _resultobj
= Py_None
;
5494 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5495 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5499 bool _arg2
= (bool ) TRUE
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _argo1
= 0;
5502 int tempbool2
= (int) TRUE
;
5503 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5522 _arg2
= (bool ) tempbool2
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) return NULL
;
5529 } Py_INCREF(Py_None
);
5530 _resultobj
= Py_None
;
5534 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5535 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5539 PyObject
* _argo0
= 0;
5540 char *_kwnames
[] = { "self", NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) return NULL
;
5558 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5562 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5563 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5567 PyObject
* _argo0
= 0;
5568 PyObject
* _argo1
= 0;
5569 char *_kwnames
[] = { "self","sizer", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 } Py_INCREF(Py_None
);
5595 _resultobj
= Py_None
;
5599 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5600 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5604 PyObject
* _argo0
= 0;
5605 char *_kwnames
[] = { "self", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5623 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5627 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5628 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
* _resultobj
;
5630 wxValidator
* _result
;
5632 PyObject
* _argo0
= 0;
5633 char *_kwnames
[] = { "self", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) return NULL
;
5651 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5655 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5656 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5659 wxValidator
* _arg1
;
5660 PyObject
* _argo0
= 0;
5661 PyObject
* _argo1
= 0;
5662 char *_kwnames
[] = { "self","validator", NULL
};
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5675 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxWindow_SetValidator(_arg0
,*_arg1
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5691 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5692 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxDropTarget
* _arg1
;
5696 PyObject
* _argo0
= 0;
5697 PyObject
* _argo1
= 0;
5698 char *_kwnames
[] = { "self","target", NULL
};
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 wxWindow_SetDropTarget(_arg0
,_arg1
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) return NULL
;
5723 } Py_INCREF(Py_None
);
5724 _resultobj
= Py_None
;
5728 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5729 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5731 wxDropTarget
* _result
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5754 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5755 _resultobj
= Py_BuildValue("s",_ptemp
);
5758 _resultobj
= Py_None
;
5763 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5764 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) return NULL
;
5788 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5789 _resultobj
= Py_BuildValue("s",_ptemp
);
5793 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5794 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) return NULL
;
5818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5819 _resultobj
= Py_BuildValue("s",_ptemp
);
5823 #define wxWindow_GetAdjustedBestSize(_swigobj) (_swigobj->GetAdjustedBestSize())
5824 static PyObject
*_wrap_wxWindow_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5828 PyObject
* _argo0
= 0;
5829 char *_kwnames
[] = { "self", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAdjustedBestSize",_kwnames
,&_argo0
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAdjustedBestSize. Expected _wxWindow_p.");
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 _result
= new wxSize (wxWindow_GetAdjustedBestSize(_arg0
));
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) return NULL
;
5848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5849 _resultobj
= Py_BuildValue("s",_ptemp
);
5853 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5854 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5858 PyObject
* _argo0
= 0;
5859 PyObject
* _argo1
= 0;
5860 char *_kwnames
[] = { "self","caret", NULL
};
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 wxWindow_SetCaret(_arg0
,_arg1
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) return NULL
;
5885 } Py_INCREF(Py_None
);
5886 _resultobj
= Py_None
;
5890 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5891 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) return NULL
;
5916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5917 _resultobj
= Py_BuildValue("s",_ptemp
);
5920 _resultobj
= Py_None
;
5925 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5926 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5929 PyObject
* _argo0
= 0;
5930 char *_kwnames
[] = { "self", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxWindow_Freeze(_arg0
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) return NULL
;
5948 } Py_INCREF(Py_None
);
5949 _resultobj
= Py_None
;
5953 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5954 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 wxWindow_Thaw(_arg0
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) return NULL
;
5976 } Py_INCREF(Py_None
);
5977 _resultobj
= Py_None
;
5981 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5982 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5985 PyObject
* _argo0
= 0;
5986 char *_kwnames
[] = { "self", NULL
};
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxWindow_Update(_arg0
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) return NULL
;
6004 } Py_INCREF(Py_None
);
6005 _resultobj
= Py_None
;
6009 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
6010 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
* _resultobj
;
6014 PyObject
* _argo0
= 0;
6015 char *_kwnames
[] = { "self", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) return NULL
;
6035 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6037 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6046 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
6047 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6051 PyObject
* _argo0
= 0;
6052 PyObject
* _obj1
= 0;
6053 char *_kwnames
[] = { "self","helpText", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
6059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6066 _arg1
= wxString_in_helper(_obj1
);
6071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 wxWindow_SetHelpText(_arg0
,*_arg1
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) return NULL
;
6076 } Py_INCREF(Py_None
);
6077 _resultobj
= Py_None
;
6085 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6086 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6090 PyObject
* _argo0
= 0;
6091 PyObject
* _obj1
= 0;
6092 char *_kwnames
[] = { "self","text", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6105 _arg1
= wxString_in_helper(_obj1
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
6113 wxPyEndAllowThreads(__tstate
);
6114 if (PyErr_Occurred()) return NULL
;
6115 } Py_INCREF(Py_None
);
6116 _resultobj
= Py_None
;
6124 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6125 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self","lines", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } _resultobj
= Py_BuildValue("i",_result
);
6153 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6154 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self","pages", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) return NULL
;
6178 } _resultobj
= Py_BuildValue("i",_result
);
6182 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6183 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6187 PyObject
* _argo0
= 0;
6188 char *_kwnames
[] = { "self", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 _result
= (bool )wxWindow_LineUp(_arg0
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) return NULL
;
6206 } _resultobj
= Py_BuildValue("i",_result
);
6210 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6211 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self", NULL
};
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 _result
= (bool )wxWindow_LineDown(_arg0
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) return NULL
;
6234 } _resultobj
= Py_BuildValue("i",_result
);
6238 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6239 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
* _resultobj
;
6243 PyObject
* _argo0
= 0;
6244 char *_kwnames
[] = { "self", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 _result
= (bool )wxWindow_PageUp(_arg0
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) return NULL
;
6262 } _resultobj
= Py_BuildValue("i",_result
);
6266 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6267 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
* _resultobj
;
6271 PyObject
* _argo0
= 0;
6272 char *_kwnames
[] = { "self", NULL
};
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 _result
= (bool )wxWindow_PageDown(_arg0
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) return NULL
;
6290 } _resultobj
= Py_BuildValue("i",_result
);
6294 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6297 char *_kwnames
[] = { NULL
};
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 _result
= (wxWindow
*)wxWindow::FindFocus();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) return NULL
;
6308 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6312 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6315 char *_kwnames
[] = { NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 _result
= (int )wxWindow::NewControlId();
6324 wxPyEndAllowThreads(__tstate
);
6325 if (PyErr_Occurred()) return NULL
;
6326 } _resultobj
= Py_BuildValue("i",_result
);
6330 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
* _resultobj
;
6334 char *_kwnames
[] = { "id", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 _result
= (int )wxWindow::NextControlId(_arg0
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) return NULL
;
6345 } _resultobj
= Py_BuildValue("i",_result
);
6349 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
* _resultobj
;
6353 char *_kwnames
[] = { "id", NULL
};
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 _result
= (int )wxWindow::PrevControlId(_arg0
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) return NULL
;
6364 } _resultobj
= Py_BuildValue("i",_result
);
6368 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6369 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6372 wxAcceleratorTable
* _arg1
;
6373 PyObject
* _argo0
= 0;
6374 PyObject
* _argo1
= 0;
6375 char *_kwnames
[] = { "self","accel", NULL
};
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6388 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) return NULL
;
6399 } Py_INCREF(Py_None
);
6400 _resultobj
= Py_None
;
6404 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6405 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6407 wxAcceleratorTable
* _result
;
6409 PyObject
* _argo0
= 0;
6410 char *_kwnames
[] = { "self", NULL
};
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) return NULL
;
6430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6431 _resultobj
= Py_BuildValue("s",_ptemp
);
6434 _resultobj
= Py_None
;
6439 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
) {
6441 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
6446 static PyObject
*_wrap_wxWindow_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6453 PyObject
* _argo0
= 0;
6454 char *_kwnames
[] = { "self","hotkeyId","modifiers","keycode", NULL
};
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxWindow_RegisterHotKey",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RegisterHotKey. Expected _wxWindow_p.");
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 _result
= (bool )wxWindow_RegisterHotKey(_arg0
,_arg1
,_arg2
,_arg3
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) return NULL
;
6472 } _resultobj
= Py_BuildValue("i",_result
);
6476 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
) {
6478 return self
->UnregisterHotKey(hotkeyId
);
6483 static PyObject
*_wrap_wxWindow_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
* _resultobj
;
6488 PyObject
* _argo0
= 0;
6489 char *_kwnames
[] = { "self","hotkeyId", NULL
};
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_UnregisterHotKey",_kwnames
,&_argo0
,&_arg1
))
6495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnregisterHotKey. Expected _wxWindow_p.");
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 _result
= (bool )wxWindow_UnregisterHotKey(_arg0
,_arg1
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) return NULL
;
6507 } _resultobj
= Py_BuildValue("i",_result
);
6511 #define wxWindow_OnPaint(_swigobj,_swigarg0) (_swigobj->OnPaint(_swigarg0))
6512 static PyObject
*_wrap_wxWindow_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6515 wxPaintEvent
* _arg1
;
6516 PyObject
* _argo0
= 0;
6517 PyObject
* _argo1
= 0;
6518 char *_kwnames
[] = { "self","event", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_OnPaint",_kwnames
,&_argo0
,&_argo1
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_OnPaint. Expected _wxWindow_p.");
6531 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPaintEvent_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_OnPaint. Expected _wxPaintEvent_p.");
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 wxWindow_OnPaint(_arg0
,*_arg1
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) return NULL
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6547 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6548 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) return NULL
;
6571 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6575 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6576 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6581 PyObject
* _argo0
= 0;
6582 PyObject
* _argo1
= 0;
6583 char *_kwnames
[] = { "self","btn", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6608 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6612 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6613 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
* _resultobj
;
6617 PyObject
* _argo0
= 0;
6618 PyObject
* _argo1
= 0;
6619 char *_kwnames
[] = { "self","win", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) return NULL
;
6644 } Py_INCREF(Py_None
);
6645 _resultobj
= Py_None
;
6649 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6650 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
* _resultobj
;
6655 PyObject
* _argo0
= 0;
6656 char *_kwnames
[] = { "self","x","y", NULL
};
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) return NULL
;
6674 } Py_INCREF(Py_None
);
6675 _resultobj
= Py_None
;
6679 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6680 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6683 PyObject
* _argo0
= 0;
6684 char *_kwnames
[] = { "self", NULL
};
6687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 wxWindow_CaptureMouse(_arg0
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) return NULL
;
6702 } Py_INCREF(Py_None
);
6703 _resultobj
= Py_None
;
6707 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6708 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 char *_kwnames
[] = { "self", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 wxWindow_ReleaseMouse(_arg0
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) return NULL
;
6730 } Py_INCREF(Py_None
);
6731 _resultobj
= Py_None
;
6735 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
* _resultobj
;
6738 char *_kwnames
[] = { NULL
};
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 _result
= (wxWindow
*)wxWindow::GetCapture();
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) return NULL
;
6749 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6753 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6754 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6758 PyObject
* _argo0
= 0;
6759 char *_kwnames
[] = { "self", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 _result
= (bool )wxWindow_HasCapture(_arg0
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) return NULL
;
6777 } _resultobj
= Py_BuildValue("i",_result
);
6781 #define wxWindow_SetThemeEnabled(_swigobj,_swigarg0) (_swigobj->SetThemeEnabled(_swigarg0))
6782 static PyObject
*_wrap_wxWindow_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6786 PyObject
* _argo0
= 0;
6788 char *_kwnames
[] = { "self","enable", NULL
};
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetThemeEnabled",_kwnames
,&_argo0
,&tempbool1
))
6794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetThemeEnabled. Expected _wxWindow_p.");
6800 _arg1
= (bool ) tempbool1
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxWindow_SetThemeEnabled(_arg0
,_arg1
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } Py_INCREF(Py_None
);
6808 _resultobj
= Py_None
;
6812 #define wxWindow_GetThemeEnabled(_swigobj) (_swigobj->GetThemeEnabled())
6813 static PyObject
*_wrap_wxWindow_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetThemeEnabled",_kwnames
,&_argo0
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetThemeEnabled. Expected _wxWindow_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 _result
= (bool )wxWindow_GetThemeEnabled(_arg0
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } _resultobj
= Py_BuildValue("i",_result
);
6840 #define wxWindow_GetBorderFlags(_swigobj,_swigarg0) (_swigobj->GetBorder(_swigarg0))
6841 static PyObject
*_wrap_wxWindow_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self","flags", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_GetBorderFlags",_kwnames
,&_argo0
,&_arg1
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorderFlags. Expected _wxWindow_p.");
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 _result
= (wxBorder
)wxWindow_GetBorderFlags(_arg0
,_arg1
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) return NULL
;
6865 } _resultobj
= Py_BuildValue("i",_result
);
6869 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
6870 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
* _resultobj
;
6874 PyObject
* _argo0
= 0;
6875 char *_kwnames
[] = { "self", NULL
};
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
6881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } _resultobj
= Py_BuildValue("i",_result
);
6897 static void *SwigwxPanelTowxWindow(void *ptr
) {
6900 src
= (wxPanel
*) ptr
;
6901 dest
= (wxWindow
*) src
;
6902 return (void *) dest
;
6905 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6908 src
= (wxPanel
*) ptr
;
6909 dest
= (wxEvtHandler
*) src
;
6910 return (void *) dest
;
6913 static void *SwigwxPanelTowxObject(void *ptr
) {
6916 src
= (wxPanel
*) ptr
;
6917 dest
= (wxObject
*) src
;
6918 return (void *) dest
;
6921 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6922 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6927 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6928 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6929 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6930 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6931 PyObject
* _argo0
= 0;
6933 PyObject
* _obj2
= 0;
6935 PyObject
* _obj3
= 0;
6936 PyObject
* _obj5
= 0;
6937 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6953 if (! wxPoint_helper(_obj2
, &_arg2
))
6959 if (! wxSize_helper(_obj3
, &_arg3
))
6964 _arg5
= wxString_in_helper(_obj5
);
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) return NULL
;
6975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6976 _resultobj
= Py_BuildValue("s",_ptemp
);
6979 _resultobj
= Py_None
;
6988 #define new_wxPrePanel() (new wxPanel())
6989 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
* _resultobj
;
6992 char *_kwnames
[] = { NULL
};
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 _result
= (wxPanel
*)new_wxPrePanel();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) return NULL
;
7005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
7006 _resultobj
= Py_BuildValue("s",_ptemp
);
7009 _resultobj
= Py_None
;
7014 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7015 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
* _resultobj
;
7021 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7022 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7023 long _arg5
= (long ) wxTAB_TRAVERSAL
;
7024 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7025 PyObject
* _argo0
= 0;
7026 PyObject
* _argo1
= 0;
7028 PyObject
* _obj3
= 0;
7030 PyObject
* _obj4
= 0;
7031 PyObject
* _obj6
= 0;
7032 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
7040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
7045 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7046 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
7054 if (! wxPoint_helper(_obj3
, &_arg3
))
7060 if (! wxSize_helper(_obj4
, &_arg4
))
7065 _arg6
= wxString_in_helper(_obj6
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) return NULL
;
7075 } _resultobj
= Py_BuildValue("i",_result
);
7083 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
7084 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
* _resultobj
;
7087 PyObject
* _argo0
= 0;
7088 char *_kwnames
[] = { "self", NULL
};
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
7094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
7096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 wxPanel_InitDialog(_arg0
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) return NULL
;
7106 } Py_INCREF(Py_None
);
7107 _resultobj
= Py_None
;
7111 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
7112 wxScrolledWindow
*src
;
7114 src
= (wxScrolledWindow
*) ptr
;
7115 dest
= (wxPanel
*) src
;
7116 return (void *) dest
;
7119 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
7120 wxScrolledWindow
*src
;
7122 src
= (wxScrolledWindow
*) ptr
;
7123 dest
= (wxWindow
*) src
;
7124 return (void *) dest
;
7127 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
7128 wxScrolledWindow
*src
;
7130 src
= (wxScrolledWindow
*) ptr
;
7131 dest
= (wxEvtHandler
*) src
;
7132 return (void *) dest
;
7135 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
7136 wxScrolledWindow
*src
;
7138 src
= (wxScrolledWindow
*) ptr
;
7139 dest
= (wxObject
*) src
;
7140 return (void *) dest
;
7143 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7144 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7146 wxScrolledWindow
* _result
;
7148 wxWindowID _arg1
= (wxWindowID
) -1;
7149 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7150 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7151 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
7152 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7153 PyObject
* _argo0
= 0;
7155 PyObject
* _obj2
= 0;
7157 PyObject
* _obj3
= 0;
7158 PyObject
* _obj5
= 0;
7159 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
7175 if (! wxPoint_helper(_obj2
, &_arg2
))
7181 if (! wxSize_helper(_obj3
, &_arg3
))
7186 _arg5
= wxString_in_helper(_obj5
);
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7198 _resultobj
= Py_BuildValue("s",_ptemp
);
7201 _resultobj
= Py_None
;
7210 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
7211 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7213 wxScrolledWindow
* _result
;
7214 char *_kwnames
[] = { NULL
};
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7228 _resultobj
= Py_BuildValue("s",_ptemp
);
7231 _resultobj
= Py_None
;
7236 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7237 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
* _resultobj
;
7240 wxScrolledWindow
* _arg0
;
7242 wxWindowID _arg2
= (wxWindowID
) -1;
7243 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7244 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7245 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
7246 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7247 PyObject
* _argo0
= 0;
7248 PyObject
* _argo1
= 0;
7250 PyObject
* _obj3
= 0;
7252 PyObject
* _obj4
= 0;
7253 PyObject
* _obj6
= 0;
7254 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7276 if (! wxPoint_helper(_obj3
, &_arg3
))
7282 if (! wxSize_helper(_obj4
, &_arg4
))
7287 _arg6
= wxString_in_helper(_obj6
);
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) return NULL
;
7297 } _resultobj
= Py_BuildValue("i",_result
);
7305 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7306 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
* _resultobj
;
7308 wxScrolledWindow
* _arg0
;
7311 PyObject
* _argo0
= 0;
7314 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7326 _arg1
= (bool ) tempbool1
;
7327 _arg2
= (bool ) tempbool2
;
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
7332 wxPyEndAllowThreads(__tstate
);
7333 if (PyErr_Occurred()) return NULL
;
7334 } Py_INCREF(Py_None
);
7335 _resultobj
= Py_None
;
7339 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7340 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7343 wxScrolledWindow
* _arg0
;
7345 PyObject
* _argo0
= 0;
7346 char *_kwnames
[] = { "self","orient", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) return NULL
;
7364 } _resultobj
= Py_BuildValue("i",_result
);
7368 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7369 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
* _resultobj
;
7371 wxScrolledWindow
* _arg0
;
7376 PyObject
* _argo0
= 0;
7377 char *_kwnames
[] = { "self", NULL
};
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
7389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) return NULL
;
7401 } Py_INCREF(Py_None
);
7402 _resultobj
= Py_None
;
7405 o
= PyInt_FromLong((long) (*_arg1
));
7406 _resultobj
= t_output_helper(_resultobj
, o
);
7410 o
= PyInt_FromLong((long) (*_arg2
));
7411 _resultobj
= t_output_helper(_resultobj
, o
);
7416 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7417 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7420 wxScrolledWindow
* _arg0
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) return NULL
;
7440 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7444 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7445 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
* _resultobj
;
7448 wxScrolledWindow
* _arg0
;
7449 PyObject
* _argo0
= 0;
7450 char *_kwnames
[] = { "self", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) return NULL
;
7468 } _resultobj
= Py_BuildValue("i",_result
);
7472 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7473 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7475 wxScrolledWindow
* _arg0
;
7477 PyObject
* _argo0
= 0;
7478 PyObject
* _argo1
= 0;
7479 char *_kwnames
[] = { "self","dc", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7492 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } Py_INCREF(Py_None
);
7504 _resultobj
= Py_None
;
7508 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7509 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
* _resultobj
;
7511 wxScrolledWindow
* _arg0
;
7514 PyObject
* _argo0
= 0;
7515 char *_kwnames
[] = { "self","x","y", NULL
};
7518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) return NULL
;
7533 } Py_INCREF(Py_None
);
7534 _resultobj
= Py_None
;
7538 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7539 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7541 wxScrolledWindow
* _arg0
;
7546 int _arg5
= (int ) 0;
7547 int _arg6
= (int ) 0;
7548 int _arg7
= (int ) FALSE
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } Py_INCREF(Py_None
);
7569 _resultobj
= Py_None
;
7573 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7574 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7576 wxScrolledWindow
* _arg0
;
7579 PyObject
* _argo0
= 0;
7580 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) return NULL
;
7598 } Py_INCREF(Py_None
);
7599 _resultobj
= Py_None
;
7603 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7604 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
* _resultobj
;
7606 wxScrolledWindow
* _arg0
;
7608 PyObject
* _argo0
= 0;
7609 PyObject
* _argo1
= 0;
7610 char *_kwnames
[] = { "self","window", NULL
};
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) return NULL
;
7635 } Py_INCREF(Py_None
);
7636 _resultobj
= Py_None
;
7640 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7641 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7643 wxScrolledWindow
* _arg0
;
7648 PyObject
* _argo0
= 0;
7649 char *_kwnames
[] = { "self", NULL
};
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) return NULL
;
7673 } Py_INCREF(Py_None
);
7674 _resultobj
= Py_None
;
7677 o
= PyInt_FromLong((long) (*_arg1
));
7678 _resultobj
= t_output_helper(_resultobj
, o
);
7682 o
= PyInt_FromLong((long) (*_arg2
));
7683 _resultobj
= t_output_helper(_resultobj
, o
);
7688 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7689 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
* _resultobj
;
7692 wxScrolledWindow
* _arg0
;
7694 PyObject
* _argo0
= 0;
7696 PyObject
* _obj1
= 0;
7697 char *_kwnames
[] = { "self","pt", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7712 if (! wxPoint_helper(_obj1
, &_arg1
))
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) return NULL
;
7721 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7722 _resultobj
= Py_BuildValue("s",_ptemp
);
7726 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7727 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
* _resultobj
;
7729 wxScrolledWindow
* _arg0
;
7736 PyObject
* _argo0
= 0;
7737 char *_kwnames
[] = { "self","x","y", NULL
};
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) return NULL
;
7761 } Py_INCREF(Py_None
);
7762 _resultobj
= Py_None
;
7765 o
= PyInt_FromLong((long) (*_arg3
));
7766 _resultobj
= t_output_helper(_resultobj
, o
);
7770 o
= PyInt_FromLong((long) (*_arg4
));
7771 _resultobj
= t_output_helper(_resultobj
, o
);
7776 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7777 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
* _resultobj
;
7780 wxScrolledWindow
* _arg0
;
7782 PyObject
* _argo0
= 0;
7784 PyObject
* _obj1
= 0;
7785 char *_kwnames
[] = { "self","pt", NULL
};
7789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7800 if (! wxPoint_helper(_obj1
, &_arg1
))
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) return NULL
;
7809 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7810 _resultobj
= Py_BuildValue("s",_ptemp
);
7814 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7815 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7817 wxScrolledWindow
* _arg0
;
7824 PyObject
* _argo0
= 0;
7825 char *_kwnames
[] = { "self","x","y", NULL
};
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) return NULL
;
7849 } Py_INCREF(Py_None
);
7850 _resultobj
= Py_None
;
7853 o
= PyInt_FromLong((long) (*_arg3
));
7854 _resultobj
= t_output_helper(_resultobj
, o
);
7858 o
= PyInt_FromLong((long) (*_arg4
));
7859 _resultobj
= t_output_helper(_resultobj
, o
);
7864 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7865 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
* _resultobj
;
7867 wxScrolledWindow
* _arg0
;
7870 PyObject
* _argo0
= 0;
7871 char *_kwnames
[] = { "self","xs","ys", NULL
};
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) return NULL
;
7889 } Py_INCREF(Py_None
);
7890 _resultobj
= Py_None
;
7894 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7895 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7898 wxScrolledWindow
* _arg0
;
7899 PyObject
* _argo0
= 0;
7900 char *_kwnames
[] = { "self", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) return NULL
;
7918 } _resultobj
= Py_BuildValue("d",_result
);
7922 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7923 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
* _resultobj
;
7926 wxScrolledWindow
* _arg0
;
7927 PyObject
* _argo0
= 0;
7928 char *_kwnames
[] = { "self", NULL
};
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) return NULL
;
7946 } _resultobj
= Py_BuildValue("d",_result
);
7950 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7951 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
* _resultobj
;
7953 wxScrolledWindow
* _arg0
;
7954 PyObject
* _argo0
= 0;
7955 char *_kwnames
[] = { "self", NULL
};
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 wxScrolledWindow_AdjustScrollbars(_arg0
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7973 } Py_INCREF(Py_None
);
7974 _resultobj
= Py_None
;
7978 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7979 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
* _resultobj
;
7982 wxScrolledWindow
* _arg0
;
7983 PyObject
* _argo0
= 0;
7984 char *_kwnames
[] = { "self", NULL
};
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } _resultobj
= Py_BuildValue("i",_result
);
8006 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
8007 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8009 wxScrolledWindow
* _arg0
;
8012 PyObject
* _argo0
= 0;
8013 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
8021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) return NULL
;
8031 } Py_INCREF(Py_None
);
8032 _resultobj
= Py_None
;
8036 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
8039 src
= (wxMenu
*) ptr
;
8040 dest
= (wxEvtHandler
*) src
;
8041 return (void *) dest
;
8044 static void *SwigwxMenuTowxObject(void *ptr
) {
8047 src
= (wxMenu
*) ptr
;
8048 dest
= (wxObject
*) src
;
8049 return (void *) dest
;
8052 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
8053 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
* _resultobj
;
8056 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
8057 long _arg1
= (long ) 0;
8058 PyObject
* _obj0
= 0;
8059 char *_kwnames
[] = { "title","style", NULL
};
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
8067 _arg0
= wxString_in_helper(_obj0
);
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) return NULL
;
8078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
8079 _resultobj
= Py_BuildValue("s",_ptemp
);
8082 _resultobj
= Py_None
;
8091 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8092 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
* _resultobj
;
8097 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8098 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8099 PyObject
* _argo0
= 0;
8100 PyObject
* _obj2
= 0;
8101 PyObject
* _obj3
= 0;
8102 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
8115 _arg2
= wxString_in_helper(_obj2
);
8121 _arg3
= wxString_in_helper(_obj3
);
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) return NULL
;
8131 } Py_INCREF(Py_None
);
8132 _resultobj
= Py_None
;
8144 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8145 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
* _resultobj
;
8151 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8152 PyObject
* _argo0
= 0;
8153 PyObject
* _obj2
= 0;
8154 PyObject
* _argo3
= 0;
8155 PyObject
* _obj4
= 0;
8156 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8169 _arg2
= wxString_in_helper(_obj2
);
8174 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8182 _arg4
= wxString_in_helper(_obj4
);
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) return NULL
;
8192 } Py_INCREF(Py_None
);
8193 _resultobj
= Py_None
;
8205 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
8206 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
* _resultobj
;
8210 PyObject
* _argo0
= 0;
8211 PyObject
* _argo1
= 0;
8212 char *_kwnames
[] = { "self","item", NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
8218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8225 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8226 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 wxMenu_AppendItem(_arg0
,_arg1
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) return NULL
;
8237 } Py_INCREF(Py_None
);
8238 _resultobj
= Py_None
;
8242 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8243 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
* _resultobj
;
8248 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8249 PyObject
* _argo0
= 0;
8250 PyObject
* _obj2
= 0;
8251 PyObject
* _obj3
= 0;
8252 char *_kwnames
[] = { "self","id","text","help", NULL
};
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8265 _arg2
= wxString_in_helper(_obj2
);
8271 _arg3
= wxString_in_helper(_obj3
);
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) return NULL
;
8281 } Py_INCREF(Py_None
);
8282 _resultobj
= Py_None
;
8294 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8295 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
* _resultobj
;
8300 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8301 PyObject
* _argo0
= 0;
8302 PyObject
* _obj2
= 0;
8303 PyObject
* _obj3
= 0;
8304 char *_kwnames
[] = { "self","id","text","help", NULL
};
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8317 _arg2
= wxString_in_helper(_obj2
);
8323 _arg3
= wxString_in_helper(_obj3
);
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) return NULL
;
8333 } Py_INCREF(Py_None
);
8334 _resultobj
= Py_None
;
8346 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8347 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
* _resultobj
;
8350 PyObject
* _argo0
= 0;
8351 char *_kwnames
[] = { "self", NULL
};
8354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
8357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 wxMenu_AppendSeparator(_arg0
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) return NULL
;
8369 } Py_INCREF(Py_None
);
8370 _resultobj
= Py_None
;
8374 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8375 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
* _resultobj
;
8381 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8382 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
8383 PyObject
* _argo0
= 0;
8384 PyObject
* _obj3
= 0;
8385 PyObject
* _obj4
= 0;
8386 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8399 _arg3
= wxString_in_helper(_obj3
);
8405 _arg4
= wxString_in_helper(_obj4
);
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) return NULL
;
8415 } Py_INCREF(Py_None
);
8416 _resultobj
= Py_None
;
8428 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8429 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
* _resultobj
;
8433 PyObject
* _argo0
= 0;
8434 char *_kwnames
[] = { "self","pos", NULL
};
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 wxMenu_InsertSeparator(_arg0
,_arg1
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) return NULL
;
8452 } Py_INCREF(Py_None
);
8453 _resultobj
= Py_None
;
8457 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8458 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
* _resultobj
;
8464 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8465 PyObject
* _argo0
= 0;
8466 PyObject
* _obj3
= 0;
8467 PyObject
* _obj4
= 0;
8468 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8481 _arg3
= wxString_in_helper(_obj3
);
8487 _arg4
= wxString_in_helper(_obj4
);
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) return NULL
;
8497 } Py_INCREF(Py_None
);
8498 _resultobj
= Py_None
;
8510 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8511 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
* _resultobj
;
8517 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8518 PyObject
* _argo0
= 0;
8519 PyObject
* _obj3
= 0;
8520 PyObject
* _obj4
= 0;
8521 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8534 _arg3
= wxString_in_helper(_obj3
);
8540 _arg4
= wxString_in_helper(_obj4
);
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8550 } Py_INCREF(Py_None
);
8551 _resultobj
= Py_None
;
8563 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8564 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
* _resultobj
;
8571 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8572 PyObject
* _argo0
= 0;
8573 PyObject
* _obj3
= 0;
8574 PyObject
* _argo4
= 0;
8575 PyObject
* _obj5
= 0;
8576 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8589 _arg3
= wxString_in_helper(_obj3
);
8594 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8595 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8602 _arg5
= wxString_in_helper(_obj5
);
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) return NULL
;
8612 } Py_INCREF(Py_None
);
8613 _resultobj
= Py_None
;
8625 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8626 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
* _resultobj
;
8632 PyObject
* _argo0
= 0;
8633 PyObject
* _argo2
= 0;
8634 char *_kwnames
[] = { "self","pos","item", NULL
};
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8647 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8648 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) return NULL
;
8659 } _resultobj
= Py_BuildValue("i",_result
);
8663 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8664 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8669 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8670 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8671 PyObject
* _argo0
= 0;
8672 PyObject
* _obj2
= 0;
8673 PyObject
* _obj3
= 0;
8674 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8687 _arg2
= wxString_in_helper(_obj2
);
8693 _arg3
= wxString_in_helper(_obj3
);
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) return NULL
;
8703 } Py_INCREF(Py_None
);
8704 _resultobj
= Py_None
;
8716 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8717 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
* _resultobj
;
8720 PyObject
* _argo0
= 0;
8721 char *_kwnames
[] = { "self", NULL
};
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxMenu_PrependSeparator(_arg0
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) return NULL
;
8739 } Py_INCREF(Py_None
);
8740 _resultobj
= Py_None
;
8744 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8745 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8750 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8751 PyObject
* _argo0
= 0;
8752 PyObject
* _obj2
= 0;
8753 PyObject
* _obj3
= 0;
8754 char *_kwnames
[] = { "self","id","text","help", NULL
};
8757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8767 _arg2
= wxString_in_helper(_obj2
);
8773 _arg3
= wxString_in_helper(_obj3
);
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } Py_INCREF(Py_None
);
8784 _resultobj
= Py_None
;
8796 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8797 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
* _resultobj
;
8802 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8803 PyObject
* _argo0
= 0;
8804 PyObject
* _obj2
= 0;
8805 PyObject
* _obj3
= 0;
8806 char *_kwnames
[] = { "self","id","text","help", NULL
};
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8819 _arg2
= wxString_in_helper(_obj2
);
8825 _arg3
= wxString_in_helper(_obj3
);
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) return NULL
;
8835 } Py_INCREF(Py_None
);
8836 _resultobj
= Py_None
;
8848 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8849 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
* _resultobj
;
8855 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8856 PyObject
* _argo0
= 0;
8857 PyObject
* _obj2
= 0;
8858 PyObject
* _argo3
= 0;
8859 PyObject
* _obj4
= 0;
8860 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8873 _arg2
= wxString_in_helper(_obj2
);
8878 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8886 _arg4
= wxString_in_helper(_obj4
);
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) return NULL
;
8896 } Py_INCREF(Py_None
);
8897 _resultobj
= Py_None
;
8909 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8910 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
* _resultobj
;
8914 PyObject
* _argo0
= 0;
8915 PyObject
* _argo1
= 0;
8916 char *_kwnames
[] = { "self","item", NULL
};
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 wxMenu_PrependItem(_arg0
,_arg1
);
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) return NULL
;
8941 } Py_INCREF(Py_None
);
8942 _resultobj
= Py_None
;
8946 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8947 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
* _resultobj
;
8950 PyObject
* _argo0
= 0;
8951 char *_kwnames
[] = { "self", NULL
};
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 wxMenu_Break(_arg0
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8969 } Py_INCREF(Py_None
);
8970 _resultobj
= Py_None
;
8974 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8975 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8980 PyObject
* _argo0
= 0;
8982 char *_kwnames
[] = { "self","id","flag", NULL
};
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8994 _arg2
= (bool ) tempbool2
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) return NULL
;
9001 } Py_INCREF(Py_None
);
9002 _resultobj
= Py_None
;
9006 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9007 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
* _resultobj
;
9012 PyObject
* _argo0
= 0;
9013 char *_kwnames
[] = { "self","id", NULL
};
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) return NULL
;
9031 } _resultobj
= Py_BuildValue("i",_result
);
9035 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9036 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
* _resultobj
;
9041 PyObject
* _argo0
= 0;
9043 char *_kwnames
[] = { "self","id","enable", NULL
};
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
9055 _arg2
= (bool ) tempbool2
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) return NULL
;
9062 } Py_INCREF(Py_None
);
9063 _resultobj
= Py_None
;
9067 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9068 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9073 PyObject
* _argo0
= 0;
9074 char *_kwnames
[] = { "self","id", NULL
};
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) return NULL
;
9092 } _resultobj
= Py_BuildValue("i",_result
);
9096 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9097 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
* _resultobj
;
9102 PyObject
* _argo0
= 0;
9103 PyObject
* _obj1
= 0;
9104 char *_kwnames
[] = { "self","itemString", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
9117 _arg1
= wxString_in_helper(_obj1
);
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) return NULL
;
9127 } _resultobj
= Py_BuildValue("i",_result
);
9135 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9136 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
* _resultobj
;
9138 wxMenuItem
* _result
;
9141 PyObject
* _argo0
= 0;
9142 char *_kwnames
[] = { "self","id", NULL
};
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) return NULL
;
9160 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9164 #define wxMenu_FindItemByPosition(_swigobj,_swigarg0) (_swigobj->FindItemByPosition(_swigarg0))
9165 static PyObject
*_wrap_wxMenu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9167 wxMenuItem
* _result
;
9170 PyObject
* _argo0
= 0;
9171 char *_kwnames
[] = { "self","position", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemByPosition",_kwnames
,&_argo0
,&_arg1
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemByPosition. Expected _wxMenu_p.");
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 _result
= (wxMenuItem
*)wxMenu_FindItemByPosition(_arg0
,_arg1
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) return NULL
;
9189 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9193 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
9194 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
* _resultobj
;
9198 PyObject
* _argo0
= 0;
9199 char *_kwnames
[] = { "self", NULL
};
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
9205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 _result
= new wxString (wxMenu_GetTitle(_arg0
));
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) return NULL
;
9219 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9221 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9230 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
9231 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
* _resultobj
;
9235 PyObject
* _argo0
= 0;
9236 PyObject
* _obj1
= 0;
9237 char *_kwnames
[] = { "self","title", NULL
};
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
9243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9250 _arg1
= wxString_in_helper(_obj1
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 wxMenu_SetTitle(_arg0
,*_arg1
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) return NULL
;
9260 } Py_INCREF(Py_None
);
9261 _resultobj
= Py_None
;
9269 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9270 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
* _resultobj
;
9275 PyObject
* _argo0
= 0;
9276 char *_kwnames
[] = { "self","id", NULL
};
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) return NULL
;
9296 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9298 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9307 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9308 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
* _resultobj
;
9313 PyObject
* _argo0
= 0;
9314 PyObject
* _obj2
= 0;
9315 char *_kwnames
[] = { "self","id","label", NULL
};
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9328 _arg2
= wxString_in_helper(_obj2
);
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) return NULL
;
9338 } Py_INCREF(Py_None
);
9339 _resultobj
= Py_None
;
9347 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9348 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
* _resultobj
;
9353 PyObject
* _argo0
= 0;
9354 char *_kwnames
[] = { "self","id", NULL
};
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) return NULL
;
9374 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9376 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9385 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9386 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
* _resultobj
;
9391 PyObject
* _argo0
= 0;
9392 PyObject
* _obj2
= 0;
9393 char *_kwnames
[] = { "self","id","helpString", NULL
};
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9406 _arg2
= wxString_in_helper(_obj2
);
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) return NULL
;
9416 } Py_INCREF(Py_None
);
9417 _resultobj
= Py_None
;
9425 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9426 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
* _resultobj
;
9429 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
9430 PyObject
* _argo0
= 0;
9431 PyObject
* _argo1
= 0;
9432 char *_kwnames
[] = { "self","source", NULL
};
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxMenu_UpdateUI(_arg0
,_arg1
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) return NULL
;
9457 } Py_INCREF(Py_None
);
9458 _resultobj
= Py_None
;
9462 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9463 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
* _resultobj
;
9468 PyObject
* _argo0
= 0;
9469 char *_kwnames
[] = { "self","id", NULL
};
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) return NULL
;
9487 } _resultobj
= Py_BuildValue("i",_result
);
9491 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9492 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
* _resultobj
;
9497 PyObject
* _argo0
= 0;
9498 PyObject
* _argo1
= 0;
9499 char *_kwnames
[] = { "self","item", NULL
};
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9512 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) return NULL
;
9524 } _resultobj
= Py_BuildValue("i",_result
);
9528 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9529 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
* _resultobj
;
9531 wxMenuItem
* _result
;
9534 PyObject
* _argo0
= 0;
9535 char *_kwnames
[] = { "self","id", NULL
};
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) return NULL
;
9553 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9557 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9558 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
* _resultobj
;
9560 wxMenuItem
* _result
;
9563 PyObject
* _argo0
= 0;
9564 PyObject
* _argo1
= 0;
9565 char *_kwnames
[] = { "self","item", NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9578 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) return NULL
;
9590 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9594 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9595 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
* _resultobj
;
9598 PyObject
* _argo0
= 0;
9599 char *_kwnames
[] = { "self", NULL
};
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 wxMenu_Destroy(_arg0
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) return NULL
;
9617 } Py_INCREF(Py_None
);
9618 _resultobj
= Py_None
;
9622 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9623 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
* _resultobj
;
9628 PyObject
* _argo0
= 0;
9629 char *_kwnames
[] = { "self","id", NULL
};
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) return NULL
;
9647 } _resultobj
= Py_BuildValue("i",_result
);
9651 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9652 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
* _resultobj
;
9657 PyObject
* _argo0
= 0;
9658 PyObject
* _argo1
= 0;
9659 char *_kwnames
[] = { "self","item", NULL
};
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) return NULL
;
9684 } _resultobj
= Py_BuildValue("i",_result
);
9688 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9689 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
* _resultobj
;
9693 PyObject
* _argo0
= 0;
9694 char *_kwnames
[] = { "self", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) return NULL
;
9712 } _resultobj
= Py_BuildValue("i",_result
);
9716 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9717 wxMenuItemList
& list
= self
->GetMenuItems();
9718 return wxPy_ConvertList(&list
, "wxMenuItem");
9720 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
* _resultobj
;
9724 PyObject
* _argo0
= 0;
9725 char *_kwnames
[] = { "self", NULL
};
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) return NULL
;
9744 _resultobj
= _result
;
9749 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9750 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
* _resultobj
;
9753 wxEvtHandler
* _arg1
;
9754 PyObject
* _argo0
= 0;
9755 PyObject
* _argo1
= 0;
9756 char *_kwnames
[] = { "self","handler", NULL
};
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 wxMenu_SetEventHandler(_arg0
,_arg1
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) return NULL
;
9781 } Py_INCREF(Py_None
);
9782 _resultobj
= Py_None
;
9786 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9787 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
* _resultobj
;
9789 wxEvtHandler
* _result
;
9791 PyObject
* _argo0
= 0;
9792 char *_kwnames
[] = { "self", NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) return NULL
;
9810 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9814 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9815 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9819 PyObject
* _argo0
= 0;
9820 PyObject
* _argo1
= 0;
9821 char *_kwnames
[] = { "self","win", NULL
};
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9834 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9835 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) return NULL
;
9846 } Py_INCREF(Py_None
);
9847 _resultobj
= Py_None
;
9851 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9852 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
* _resultobj
;
9856 PyObject
* _argo0
= 0;
9857 char *_kwnames
[] = { "self", NULL
};
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) return NULL
;
9875 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9879 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9880 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
* _resultobj
;
9884 PyObject
* _argo0
= 0;
9885 char *_kwnames
[] = { "self", NULL
};
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 _result
= (long )wxMenu_GetStyle(_arg0
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) return NULL
;
9903 } _resultobj
= Py_BuildValue("l",_result
);
9907 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9908 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
* _resultobj
;
9912 PyObject
* _argo0
= 0;
9913 char *_kwnames
[] = { "self", NULL
};
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 _result
= (bool )wxMenu_IsAttached(_arg0
);
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) return NULL
;
9931 } _resultobj
= Py_BuildValue("i",_result
);
9935 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9936 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
* _resultobj
;
9940 PyObject
* _argo0
= 0;
9941 PyObject
* _argo1
= 0;
9942 char *_kwnames
[] = { "self","parent", NULL
};
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 wxMenu_SetParent(_arg0
,_arg1
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) return NULL
;
9967 } Py_INCREF(Py_None
);
9968 _resultobj
= Py_None
;
9972 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9973 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
* _resultobj
;
9977 PyObject
* _argo0
= 0;
9978 char *_kwnames
[] = { "self", NULL
};
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) return NULL
;
9996 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10000 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
10003 src
= (wxMenuBar
*) ptr
;
10004 dest
= (wxWindow
*) src
;
10005 return (void *) dest
;
10008 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
10010 wxEvtHandler
*dest
;
10011 src
= (wxMenuBar
*) ptr
;
10012 dest
= (wxEvtHandler
*) src
;
10013 return (void *) dest
;
10016 static void *SwigwxMenuBarTowxObject(void *ptr
) {
10019 src
= (wxMenuBar
*) ptr
;
10020 dest
= (wxObject
*) src
;
10021 return (void *) dest
;
10024 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
10025 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
* _resultobj
;
10027 wxMenuBar
* _result
;
10028 long _arg0
= (long ) 0;
10029 char *_kwnames
[] = { "style", NULL
};
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) return NULL
;
10042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
10043 _resultobj
= Py_BuildValue("s",_ptemp
);
10045 Py_INCREF(Py_None
);
10046 _resultobj
= Py_None
;
10051 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
10052 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10058 PyObject
* _argo0
= 0;
10059 PyObject
* _argo1
= 0;
10060 PyObject
* _obj2
= 0;
10061 char *_kwnames
[] = { "self","menu","title", NULL
};
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
10067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
10074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
10081 _arg2
= wxString_in_helper(_obj2
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) return NULL
;
10091 } _resultobj
= Py_BuildValue("i",_result
);
10099 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
10100 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
* _resultobj
;
10107 PyObject
* _argo0
= 0;
10108 PyObject
* _argo2
= 0;
10109 PyObject
* _obj3
= 0;
10110 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
10116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
10123 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10124 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
10125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
10130 _arg3
= wxString_in_helper(_obj3
);
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) return NULL
;
10140 } _resultobj
= Py_BuildValue("i",_result
);
10148 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
10149 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
* _resultobj
;
10153 PyObject
* _argo0
= 0;
10154 char *_kwnames
[] = { "self", NULL
};
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
10160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) return NULL
;
10172 } _resultobj
= Py_BuildValue("i",_result
);
10176 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
10177 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10182 PyObject
* _argo0
= 0;
10183 char *_kwnames
[] = { "self","pos", NULL
};
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
10189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) return NULL
;
10201 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10205 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
10206 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10213 PyObject
* _argo0
= 0;
10214 PyObject
* _argo2
= 0;
10215 PyObject
* _obj3
= 0;
10216 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
10222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
10229 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10230 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
10231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
10236 _arg3
= wxString_in_helper(_obj3
);
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) return NULL
;
10246 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10254 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10255 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
* _resultobj
;
10260 PyObject
* _argo0
= 0;
10261 char *_kwnames
[] = { "self","pos", NULL
};
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
10267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) return NULL
;
10279 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10283 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10284 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
* _resultobj
;
10289 PyObject
* _argo0
= 0;
10291 char *_kwnames
[] = { "self","pos","enable", NULL
};
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10303 _arg2
= (bool ) tempbool2
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) return NULL
;
10310 } Py_INCREF(Py_None
);
10311 _resultobj
= Py_None
;
10315 #define wxMenuBar_IsEnabledTop(_swigobj,_swigarg0) (_swigobj->IsEnabledTop(_swigarg0))
10316 static PyObject
*_wrap_wxMenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
* _resultobj
;
10321 PyObject
* _argo0
= 0;
10322 char *_kwnames
[] = { "self","pos", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabledTop",_kwnames
,&_argo0
,&_arg1
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabledTop. Expected _wxMenuBar_p.");
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 _result
= (bool )wxMenuBar_IsEnabledTop(_arg0
,_arg1
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) return NULL
;
10340 } _resultobj
= Py_BuildValue("i",_result
);
10344 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10345 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
* _resultobj
;
10350 PyObject
* _argo0
= 0;
10351 PyObject
* _obj2
= 0;
10352 char *_kwnames
[] = { "self","pos","label", NULL
};
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10365 _arg2
= wxString_in_helper(_obj2
);
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) return NULL
;
10375 } Py_INCREF(Py_None
);
10376 _resultobj
= Py_None
;
10384 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10385 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
* _resultobj
;
10387 wxString
* _result
;
10390 PyObject
* _argo0
= 0;
10391 char *_kwnames
[] = { "self","pos", NULL
};
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
10397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) return NULL
;
10411 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10413 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10422 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10423 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
* _resultobj
;
10428 PyObject
* _argo0
= 0;
10429 PyObject
* _obj1
= 0;
10430 char *_kwnames
[] = { "self","title", NULL
};
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
10436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10443 _arg1
= wxString_in_helper(_obj1
);
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) return NULL
;
10453 } _resultobj
= Py_BuildValue("i",_result
);
10461 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10462 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
* _resultobj
;
10468 PyObject
* _argo0
= 0;
10469 PyObject
* _obj1
= 0;
10470 PyObject
* _obj2
= 0;
10471 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10484 _arg1
= wxString_in_helper(_obj1
);
10489 _arg2
= wxString_in_helper(_obj2
);
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) return NULL
;
10499 } _resultobj
= Py_BuildValue("i",_result
);
10511 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10512 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
* _resultobj
;
10514 wxMenuItem
* _result
;
10517 PyObject
* _argo0
= 0;
10518 char *_kwnames
[] = { "self","id", NULL
};
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) return NULL
;
10536 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10540 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10541 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
* _resultobj
;
10546 PyObject
* _argo0
= 0;
10548 char *_kwnames
[] = { "self","id","enable", NULL
};
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10560 _arg2
= (bool ) tempbool2
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) return NULL
;
10567 } Py_INCREF(Py_None
);
10568 _resultobj
= Py_None
;
10572 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10573 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
* _resultobj
;
10578 PyObject
* _argo0
= 0;
10580 char *_kwnames
[] = { "self","id","check", NULL
};
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10592 _arg2
= (bool ) tempbool2
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) return NULL
;
10599 } Py_INCREF(Py_None
);
10600 _resultobj
= Py_None
;
10604 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10605 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
* _resultobj
;
10610 PyObject
* _argo0
= 0;
10611 char *_kwnames
[] = { "self","id", NULL
};
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
10617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) return NULL
;
10629 } _resultobj
= Py_BuildValue("i",_result
);
10633 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10634 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10639 PyObject
* _argo0
= 0;
10640 char *_kwnames
[] = { "self","id", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) return NULL
;
10658 } _resultobj
= Py_BuildValue("i",_result
);
10662 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10663 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
* _resultobj
;
10668 PyObject
* _argo0
= 0;
10669 PyObject
* _obj2
= 0;
10670 char *_kwnames
[] = { "self","id","label", NULL
};
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10683 _arg2
= wxString_in_helper(_obj2
);
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) return NULL
;
10693 } Py_INCREF(Py_None
);
10694 _resultobj
= Py_None
;
10702 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10703 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
* _resultobj
;
10705 wxString
* _result
;
10708 PyObject
* _argo0
= 0;
10709 char *_kwnames
[] = { "self","id", NULL
};
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) return NULL
;
10729 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10731 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10740 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10741 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
* _resultobj
;
10746 PyObject
* _argo0
= 0;
10747 PyObject
* _obj2
= 0;
10748 char *_kwnames
[] = { "self","id","helpString", NULL
};
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10761 _arg2
= wxString_in_helper(_obj2
);
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) return NULL
;
10771 } Py_INCREF(Py_None
);
10772 _resultobj
= Py_None
;
10780 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10781 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
* _resultobj
;
10783 wxString
* _result
;
10786 PyObject
* _argo0
= 0;
10787 char *_kwnames
[] = { "self","id", NULL
};
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10801 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) return NULL
;
10807 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10809 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10818 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10821 src
= (wxMenuItem
*) ptr
;
10822 dest
= (wxObject
*) src
;
10823 return (void *) dest
;
10826 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10827 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
* _resultobj
;
10829 wxMenuItem
* _result
;
10830 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10831 int _arg1
= (int ) wxID_SEPARATOR
;
10832 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10833 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10834 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10835 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10836 PyObject
* _argo0
= 0;
10837 PyObject
* _obj2
= 0;
10838 PyObject
* _obj3
= 0;
10839 PyObject
* _argo5
= 0;
10840 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10855 _arg2
= wxString_in_helper(_obj2
);
10861 _arg3
= wxString_in_helper(_obj3
);
10866 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10867 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) return NULL
;
10879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10880 _resultobj
= Py_BuildValue("s",_ptemp
);
10882 Py_INCREF(Py_None
);
10883 _resultobj
= Py_None
;
10896 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10897 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
* _resultobj
;
10900 wxMenuItem
* _arg0
;
10901 PyObject
* _argo0
= 0;
10902 char *_kwnames
[] = { "self", NULL
};
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) return NULL
;
10920 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10924 #define wxMenuItem_SetMenu(_swigobj,_swigarg0) (_swigobj->SetMenu(_swigarg0))
10925 static PyObject
*_wrap_wxMenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
* _resultobj
;
10927 wxMenuItem
* _arg0
;
10929 PyObject
* _argo0
= 0;
10930 PyObject
* _argo1
= 0;
10931 char *_kwnames
[] = { "self","menu", NULL
};
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetMenu",_kwnames
,&_argo0
,&_argo1
))
10937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMenu. Expected _wxMenuItem_p.");
10944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetMenu. Expected _wxMenu_p.");
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 wxMenuItem_SetMenu(_arg0
,_arg1
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) return NULL
;
10956 } Py_INCREF(Py_None
);
10957 _resultobj
= Py_None
;
10961 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10962 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10963 PyObject
* _resultobj
;
10964 wxMenuItem
* _arg0
;
10966 PyObject
* _argo0
= 0;
10967 char *_kwnames
[] = { "self","id", NULL
};
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10981 wxMenuItem_SetId(_arg0
,_arg1
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) return NULL
;
10985 } Py_INCREF(Py_None
);
10986 _resultobj
= Py_None
;
10990 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10991 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
* _resultobj
;
10994 wxMenuItem
* _arg0
;
10995 PyObject
* _argo0
= 0;
10996 char *_kwnames
[] = { "self", NULL
};
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
11002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 _result
= (int )wxMenuItem_GetId(_arg0
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) return NULL
;
11014 } _resultobj
= Py_BuildValue("i",_result
);
11018 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
11019 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
* _resultobj
;
11022 wxMenuItem
* _arg0
;
11023 PyObject
* _argo0
= 0;
11024 char *_kwnames
[] = { "self", NULL
};
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
11030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) return NULL
;
11042 } _resultobj
= Py_BuildValue("i",_result
);
11046 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
11047 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
* _resultobj
;
11049 wxMenuItem
* _arg0
;
11051 PyObject
* _argo0
= 0;
11052 PyObject
* _obj1
= 0;
11053 char *_kwnames
[] = { "self","str", NULL
};
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
11059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
11066 _arg1
= wxString_in_helper(_obj1
);
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 wxMenuItem_SetText(_arg0
,*_arg1
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) return NULL
;
11076 } Py_INCREF(Py_None
);
11077 _resultobj
= Py_None
;
11085 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
11086 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
* _resultobj
;
11088 wxString
* _result
;
11089 wxMenuItem
* _arg0
;
11090 PyObject
* _argo0
= 0;
11091 char *_kwnames
[] = { "self", NULL
};
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
11097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) return NULL
;
11111 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11113 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11122 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
11123 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
* _resultobj
;
11125 wxString
* _result
;
11126 wxMenuItem
* _arg0
;
11127 PyObject
* _argo0
= 0;
11128 char *_kwnames
[] = { "self", NULL
};
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
11134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
11143 _result
= (wxString
*) &_result_ref
;
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) return NULL
;
11149 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11151 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11157 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
11158 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
* _resultobj
;
11160 wxItemKind _result
;
11161 wxMenuItem
* _arg0
;
11162 PyObject
* _argo0
= 0;
11163 char *_kwnames
[] = { "self", NULL
};
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
11169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) return NULL
;
11181 } _resultobj
= Py_BuildValue("i",_result
);
11185 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
11186 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
* _resultobj
;
11188 wxMenuItem
* _arg0
;
11190 PyObject
* _argo0
= 0;
11192 char *_kwnames
[] = { "self","checkable", NULL
};
11195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
11198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
11204 _arg1
= (bool ) tempbool1
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 wxMenuItem_SetCheckable(_arg0
,_arg1
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) return NULL
;
11211 } Py_INCREF(Py_None
);
11212 _resultobj
= Py_None
;
11216 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
11217 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11218 PyObject
* _resultobj
;
11220 wxMenuItem
* _arg0
;
11221 PyObject
* _argo0
= 0;
11222 char *_kwnames
[] = { "self", NULL
};
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
11228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) return NULL
;
11240 } _resultobj
= Py_BuildValue("i",_result
);
11244 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
11245 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
* _resultobj
;
11248 wxMenuItem
* _arg0
;
11249 PyObject
* _argo0
= 0;
11250 char *_kwnames
[] = { "self", NULL
};
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
11256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) return NULL
;
11268 } _resultobj
= Py_BuildValue("i",_result
);
11272 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
11273 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
* _resultobj
;
11275 wxMenuItem
* _arg0
;
11277 PyObject
* _argo0
= 0;
11278 PyObject
* _argo1
= 0;
11279 char *_kwnames
[] = { "self","menu", NULL
};
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
11285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
11292 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11293 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
11294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) return NULL
;
11304 } Py_INCREF(Py_None
);
11305 _resultobj
= Py_None
;
11309 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11310 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
* _resultobj
;
11313 wxMenuItem
* _arg0
;
11314 PyObject
* _argo0
= 0;
11315 char *_kwnames
[] = { "self", NULL
};
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
11321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) return NULL
;
11333 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11337 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11338 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
* _resultobj
;
11340 wxMenuItem
* _arg0
;
11341 bool _arg1
= (bool ) TRUE
;
11342 PyObject
* _argo0
= 0;
11343 int tempbool1
= (int) TRUE
;
11344 char *_kwnames
[] = { "self","enable", NULL
};
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
11350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11356 _arg1
= (bool ) tempbool1
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 wxMenuItem_Enable(_arg0
,_arg1
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) return NULL
;
11363 } Py_INCREF(Py_None
);
11364 _resultobj
= Py_None
;
11368 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11369 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
* _resultobj
;
11372 wxMenuItem
* _arg0
;
11373 PyObject
* _argo0
= 0;
11374 char *_kwnames
[] = { "self", NULL
};
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
11380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) return NULL
;
11392 } _resultobj
= Py_BuildValue("i",_result
);
11396 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11397 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
* _resultobj
;
11399 wxMenuItem
* _arg0
;
11400 bool _arg1
= (bool ) TRUE
;
11401 PyObject
* _argo0
= 0;
11402 int tempbool1
= (int) TRUE
;
11403 char *_kwnames
[] = { "self","check", NULL
};
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
11409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11415 _arg1
= (bool ) tempbool1
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 wxMenuItem_Check(_arg0
,_arg1
);
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) return NULL
;
11422 } Py_INCREF(Py_None
);
11423 _resultobj
= Py_None
;
11427 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11428 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11429 PyObject
* _resultobj
;
11431 wxMenuItem
* _arg0
;
11432 PyObject
* _argo0
= 0;
11433 char *_kwnames
[] = { "self", NULL
};
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
11439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) return NULL
;
11451 } _resultobj
= Py_BuildValue("i",_result
);
11455 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11456 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
* _resultobj
;
11458 wxMenuItem
* _arg0
;
11459 PyObject
* _argo0
= 0;
11460 char *_kwnames
[] = { "self", NULL
};
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
11466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 wxMenuItem_Toggle(_arg0
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) return NULL
;
11478 } Py_INCREF(Py_None
);
11479 _resultobj
= Py_None
;
11483 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11484 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
* _resultobj
;
11486 wxMenuItem
* _arg0
;
11488 PyObject
* _argo0
= 0;
11489 PyObject
* _obj1
= 0;
11490 char *_kwnames
[] = { "self","str", NULL
};
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
11496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11503 _arg1
= wxString_in_helper(_obj1
);
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) return NULL
;
11513 } Py_INCREF(Py_None
);
11514 _resultobj
= Py_None
;
11522 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11523 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
* _resultobj
;
11525 wxString
* _result
;
11526 wxMenuItem
* _arg0
;
11527 PyObject
* _argo0
= 0;
11528 char *_kwnames
[] = { "self", NULL
};
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11543 _result
= (wxString
*) &_result_ref
;
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) return NULL
;
11549 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11551 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11557 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11558 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
* _resultobj
;
11560 wxAcceleratorEntry
* _result
;
11561 wxMenuItem
* _arg0
;
11562 PyObject
* _argo0
= 0;
11563 char *_kwnames
[] = { "self", NULL
};
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) return NULL
;
11583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11584 _resultobj
= Py_BuildValue("s",_ptemp
);
11586 Py_INCREF(Py_None
);
11587 _resultobj
= Py_None
;
11592 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11593 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
* _resultobj
;
11595 wxMenuItem
* _arg0
;
11596 wxAcceleratorEntry
* _arg1
;
11597 PyObject
* _argo0
= 0;
11598 PyObject
* _argo1
= 0;
11599 char *_kwnames
[] = { "self","accel", NULL
};
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 wxMenuItem_SetAccel(_arg0
,_arg1
);
11622 wxPyEndAllowThreads(__tstate
);
11623 if (PyErr_Occurred()) return NULL
;
11624 } Py_INCREF(Py_None
);
11625 _resultobj
= Py_None
;
11629 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
* _resultobj
;
11631 wxString
* _result
;
11633 PyObject
* _obj0
= 0;
11634 char *_kwnames
[] = { "text", NULL
};
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11640 _arg0
= wxString_in_helper(_obj0
);
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) return NULL
;
11652 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11654 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11667 #define wxMenuItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
11668 static PyObject
*_wrap_wxMenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
* _resultobj
;
11670 wxMenuItem
* _arg0
;
11672 PyObject
* _argo0
= 0;
11673 PyObject
* _argo1
= 0;
11674 char *_kwnames
[] = { "self","font", NULL
};
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetFont",_kwnames
,&_argo0
,&_argo1
))
11680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetFont. Expected _wxMenuItem_p.");
11687 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
11688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetFont. Expected _wxFont_p.");
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 wxMenuItem_SetFont(_arg0
,*_arg1
);
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) return NULL
;
11698 } Py_INCREF(Py_None
);
11699 _resultobj
= Py_None
;
11703 #define wxMenuItem_GetFont(_swigobj) (_swigobj->GetFont())
11704 static PyObject
*_wrap_wxMenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
* _resultobj
;
11707 wxMenuItem
* _arg0
;
11708 PyObject
* _argo0
= 0;
11709 char *_kwnames
[] = { "self", NULL
};
11713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetFont",_kwnames
,&_argo0
))
11716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetFont. Expected _wxMenuItem_p.");
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 _result
= new wxFont (wxMenuItem_GetFont(_arg0
));
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) return NULL
;
11728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
11729 _resultobj
= Py_BuildValue("s",_ptemp
);
11733 #define wxMenuItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
11734 static PyObject
*_wrap_wxMenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
* _resultobj
;
11736 wxMenuItem
* _arg0
;
11738 PyObject
* _argo0
= 0;
11740 PyObject
* _obj1
= 0;
11741 char *_kwnames
[] = { "self","colText", NULL
};
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
11747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetTextColour. Expected _wxMenuItem_p.");
11755 if (! wxColour_helper(_obj1
, &_arg1
))
11759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 wxMenuItem_SetTextColour(_arg0
,*_arg1
);
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) return NULL
;
11764 } Py_INCREF(Py_None
);
11765 _resultobj
= Py_None
;
11769 #define wxMenuItem_GetTextColour(_swigobj) (_swigobj->GetTextColour())
11770 static PyObject
*_wrap_wxMenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
* _resultobj
;
11772 wxColour
* _result
;
11773 wxMenuItem
* _arg0
;
11774 PyObject
* _argo0
= 0;
11775 char *_kwnames
[] = { "self", NULL
};
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetTextColour",_kwnames
,&_argo0
))
11782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetTextColour. Expected _wxMenuItem_p.");
11789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11790 _result
= new wxColour (wxMenuItem_GetTextColour(_arg0
));
11792 wxPyEndAllowThreads(__tstate
);
11793 if (PyErr_Occurred()) return NULL
;
11794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11795 _resultobj
= Py_BuildValue("s",_ptemp
);
11799 #define wxMenuItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
11800 static PyObject
*_wrap_wxMenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
* _resultobj
;
11802 wxMenuItem
* _arg0
;
11804 PyObject
* _argo0
= 0;
11806 PyObject
* _obj1
= 0;
11807 char *_kwnames
[] = { "self","colBack", NULL
};
11810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
11813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBackgroundColour. Expected _wxMenuItem_p.");
11821 if (! wxColour_helper(_obj1
, &_arg1
))
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 wxMenuItem_SetBackgroundColour(_arg0
,*_arg1
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) return NULL
;
11830 } Py_INCREF(Py_None
);
11831 _resultobj
= Py_None
;
11835 #define wxMenuItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
11836 static PyObject
*_wrap_wxMenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
* _resultobj
;
11838 wxColour
* _result
;
11839 wxMenuItem
* _arg0
;
11840 PyObject
* _argo0
= 0;
11841 char *_kwnames
[] = { "self", NULL
};
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBackgroundColour",_kwnames
,&_argo0
))
11848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBackgroundColour. Expected _wxMenuItem_p.");
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 _result
= new wxColour (wxMenuItem_GetBackgroundColour(_arg0
));
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) return NULL
;
11860 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
11861 _resultobj
= Py_BuildValue("s",_ptemp
);
11865 #define wxMenuItem_SetBitmaps(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBitmaps(_swigarg0,_swigarg1))
11866 static PyObject
*_wrap_wxMenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
* _resultobj
;
11868 wxMenuItem
* _arg0
;
11870 wxBitmap
* _arg2
= (wxBitmap
*) &wxNullBitmap
;
11871 PyObject
* _argo0
= 0;
11872 PyObject
* _argo1
= 0;
11873 PyObject
* _argo2
= 0;
11874 char *_kwnames
[] = { "self","bmpChecked","bmpUnchecked", NULL
};
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxMenuItem_SetBitmaps",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
11880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmaps. Expected _wxMenuItem_p.");
11887 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11893 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
11894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuItem_SetBitmaps. Expected _wxBitmap_p.");
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 wxMenuItem_SetBitmaps(_arg0
,*_arg1
,*_arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) return NULL
;
11904 } Py_INCREF(Py_None
);
11905 _resultobj
= Py_None
;
11909 #define wxMenuItem_SetMarginWidth(_swigobj,_swigarg0) (_swigobj->SetMarginWidth(_swigarg0))
11910 static PyObject
*_wrap_wxMenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
* _resultobj
;
11912 wxMenuItem
* _arg0
;
11914 PyObject
* _argo0
= 0;
11915 char *_kwnames
[] = { "self","nWidth", NULL
};
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetMarginWidth",_kwnames
,&_argo0
,&_arg1
))
11921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMarginWidth. Expected _wxMenuItem_p.");
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 wxMenuItem_SetMarginWidth(_arg0
,_arg1
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) return NULL
;
11933 } Py_INCREF(Py_None
);
11934 _resultobj
= Py_None
;
11938 #define wxMenuItem_GetMarginWidth(_swigobj) (_swigobj->GetMarginWidth())
11939 static PyObject
*_wrap_wxMenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
* _resultobj
;
11942 wxMenuItem
* _arg0
;
11943 PyObject
* _argo0
= 0;
11944 char *_kwnames
[] = { "self", NULL
};
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMarginWidth",_kwnames
,&_argo0
))
11950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMarginWidth. Expected _wxMenuItem_p.");
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 _result
= (int )wxMenuItem_GetMarginWidth(_arg0
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) return NULL
;
11962 } _resultobj
= Py_BuildValue("i",_result
);
11966 static PyObject
*_wrap_wxMenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
* _resultobj
;
11969 char *_kwnames
[] = { NULL
};
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMenuItem_GetDefaultMarginWidth",_kwnames
))
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 _result
= (int )wxMenuItem::GetDefaultMarginWidth();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) return NULL
;
11980 } _resultobj
= Py_BuildValue("i",_result
);
11984 #define wxMenuItem_IsOwnerDrawn(_swigobj) (_swigobj->IsOwnerDrawn())
11985 static PyObject
*_wrap_wxMenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
* _resultobj
;
11988 wxMenuItem
* _arg0
;
11989 PyObject
* _argo0
= 0;
11990 char *_kwnames
[] = { "self", NULL
};
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsOwnerDrawn",_kwnames
,&_argo0
))
11996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsOwnerDrawn. Expected _wxMenuItem_p.");
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 _result
= (bool )wxMenuItem_IsOwnerDrawn(_arg0
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) return NULL
;
12008 } _resultobj
= Py_BuildValue("i",_result
);
12012 #define wxMenuItem_ResetOwnerDrawn(_swigobj) (_swigobj->ResetOwnerDrawn())
12013 static PyObject
*_wrap_wxMenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
* _resultobj
;
12015 wxMenuItem
* _arg0
;
12016 PyObject
* _argo0
= 0;
12017 char *_kwnames
[] = { "self", NULL
};
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_ResetOwnerDrawn",_kwnames
,&_argo0
))
12023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
12025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_ResetOwnerDrawn. Expected _wxMenuItem_p.");
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 wxMenuItem_ResetOwnerDrawn(_arg0
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) return NULL
;
12035 } Py_INCREF(Py_None
);
12036 _resultobj
= Py_None
;
12040 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
12041 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
* _resultobj
;
12043 wxMenuItem
* _arg0
;
12045 PyObject
* _argo0
= 0;
12046 PyObject
* _argo1
= 0;
12047 char *_kwnames
[] = { "self","bitmap", NULL
};
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
12053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
12055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
12060 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
12061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) return NULL
;
12071 } Py_INCREF(Py_None
);
12072 _resultobj
= Py_None
;
12076 #define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
12077 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
* _resultobj
;
12079 wxBitmap
* _result
;
12080 wxMenuItem
* _arg0
;
12081 PyObject
* _argo0
= 0;
12082 char *_kwnames
[] = { "self", NULL
};
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBitmap",_kwnames
,&_argo0
))
12089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
12091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
);
12098 _result
= (wxBitmap
*) &_result_ref
;
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) return NULL
;
12103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
12104 _resultobj
= Py_BuildValue("s",_ptemp
);
12106 Py_INCREF(Py_None
);
12107 _resultobj
= Py_None
;
12112 static PyMethodDef windowscMethods
[] = {
12113 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12114 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12115 { "wxMenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
12116 { "wxMenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_wxMenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
12117 { "wxMenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12118 { "wxMenuItem_GetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12119 { "wxMenuItem_SetMarginWidth", (PyCFunction
) _wrap_wxMenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12120 { "wxMenuItem_SetBitmaps", (PyCFunction
) _wrap_wxMenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
12121 { "wxMenuItem_GetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12122 { "wxMenuItem_SetBackgroundColour", (PyCFunction
) _wrap_wxMenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12123 { "wxMenuItem_GetTextColour", (PyCFunction
) _wrap_wxMenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12124 { "wxMenuItem_SetTextColour", (PyCFunction
) _wrap_wxMenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12125 { "wxMenuItem_GetFont", (PyCFunction
) _wrap_wxMenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12126 { "wxMenuItem_SetFont", (PyCFunction
) _wrap_wxMenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12127 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
12128 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
12129 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
12130 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
12131 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
12132 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
12133 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12134 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
12135 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12136 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12137 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
12138 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
12139 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
12140 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
12141 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
12142 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
12143 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
12144 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12145 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
12146 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12147 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12148 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12149 { "wxMenuItem_SetMenu", (PyCFunction
) _wrap_wxMenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
12150 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
12151 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
12152 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
12153 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
12154 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12155 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12156 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12157 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12158 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
12159 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12160 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
12161 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
12162 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
12163 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
12164 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
12165 { "wxMenuBar_IsEnabledTop", (PyCFunction
) _wrap_wxMenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
12166 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
12167 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12168 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12169 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
12170 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
12171 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
12172 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
12173 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
12174 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
12175 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
12176 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
12177 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12178 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
12179 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
12180 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12181 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12182 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
12183 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
12184 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
12185 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
12186 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12187 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
12188 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12189 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
12190 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
12191 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
12192 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
12193 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
12194 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12195 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12196 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12197 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12198 { "wxMenu_FindItemByPosition", (PyCFunction
) _wrap_wxMenu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
12199 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
12200 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
12201 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12202 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12203 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12204 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
12205 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
12206 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
12207 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
12208 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
12209 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
12210 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12211 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
12212 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
12213 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
12214 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
12215 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
12216 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12217 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
12218 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12219 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
12220 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
12221 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
12222 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
12223 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
12224 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
12225 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
12226 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
12227 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
12228 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
12229 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
12230 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
12231 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
12232 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
12233 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
12234 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
12235 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
12236 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12237 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12238 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
12239 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
12240 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
12241 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
12242 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12243 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
12244 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12245 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
12246 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
12247 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
12248 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
12249 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
12250 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
12251 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
12252 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
12253 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
12254 { "wxWindow_GetBorderFlags", (PyCFunction
) _wrap_wxWindow_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
12255 { "wxWindow_GetThemeEnabled", (PyCFunction
) _wrap_wxWindow_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12256 { "wxWindow_SetThemeEnabled", (PyCFunction
) _wrap_wxWindow_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12257 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
12258 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
12259 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
12260 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
12261 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
12262 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
12263 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
12264 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
12265 { "wxWindow_OnPaint", (PyCFunction
) _wrap_wxWindow_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
12266 { "wxWindow_UnregisterHotKey", (PyCFunction
) _wrap_wxWindow_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
12267 { "wxWindow_RegisterHotKey", (PyCFunction
) _wrap_wxWindow_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
12268 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
12269 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
12270 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
12271 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
12272 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
12273 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
12274 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
12275 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
12276 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
12277 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
12278 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
12279 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
12280 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
12281 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
12282 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
12283 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
12284 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
12285 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
12286 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
12287 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
12288 { "wxWindow_GetAdjustedBestSize", (PyCFunction
) _wrap_wxWindow_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
12289 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
12290 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
12291 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
12292 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
12293 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
12294 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
12295 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
12296 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
12297 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
12298 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
12299 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
12300 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
12301 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
12302 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
12303 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
12304 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
12305 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12306 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12307 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12308 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
12309 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
12310 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
12311 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
12312 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
12313 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
12314 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12315 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
12316 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12317 { "wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
12318 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
12319 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
12320 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
12321 { "wxWindow_GetBestVirtualSize", (PyCFunction
) _wrap_wxWindow_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12322 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12323 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12324 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
12325 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
12326 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
12327 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
12328 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
12329 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12330 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
12331 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
12332 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
12333 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12334 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
12335 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
12336 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12337 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12338 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
12339 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
12340 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
12341 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12342 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12343 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12344 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
12345 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
12346 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
12347 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
12348 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
12349 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
12350 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
12351 { "wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
12352 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
12353 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
12354 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
12355 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
12356 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
12357 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12358 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12359 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12360 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
12361 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
12362 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
12363 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
12364 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
12365 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
12366 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
12367 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
12368 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
12369 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
12370 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
12371 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12372 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
12373 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
12374 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
12375 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12376 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
12377 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
12378 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
12379 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
12380 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
12381 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12382 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
12383 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
12384 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12385 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
12386 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
12387 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
12388 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
12389 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12390 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
12391 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
12392 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
12393 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12394 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12395 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
12396 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
12397 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
12398 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12399 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12400 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
12401 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
12402 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
12403 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
12404 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
12405 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
12406 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
12407 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
12408 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
12409 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12410 { "wxWindow_FitInside", (PyCFunction
) _wrap_wxWindow_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
12411 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
12412 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
12413 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
12414 { "wxWindow_Disable", (PyCFunction
) _wrap_wxWindow_Disable
, METH_VARARGS
| METH_KEYWORDS
},
12415 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12416 { "wxWindow_DragAcceptFiles", (PyCFunction
) _wrap_wxWindow_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
12417 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
12418 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
12419 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
12420 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
12421 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
12422 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
12423 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12424 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12425 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12426 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
12427 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
12428 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
12429 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
12430 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
12431 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
12432 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
12433 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
12434 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
12435 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
12436 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
12437 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12438 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
12439 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
12440 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
12441 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
12442 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
12443 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
12444 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
12445 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
12446 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
12447 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
12448 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12449 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
12450 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
12451 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
12452 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
12453 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
12454 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
12455 { "wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
12456 { "wxWindow_FromHWND", (PyCFunction
) _wrap_wxWindow_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
12463 * This table is used by the pointer type-checker
12465 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12466 { "_signed_long","_long",0},
12467 { "_wxPrintQuality","_wxCoord",0},
12468 { "_wxPrintQuality","_int",0},
12469 { "_wxPrintQuality","_signed_int",0},
12470 { "_wxPrintQuality","_unsigned_int",0},
12471 { "_wxPrintQuality","_wxWindowID",0},
12472 { "_wxPrintQuality","_uint",0},
12473 { "_wxPrintQuality","_EBool",0},
12474 { "_wxPrintQuality","_size_t",0},
12475 { "_wxPrintQuality","_time_t",0},
12476 { "_byte","_unsigned_char",0},
12477 { "_long","_unsigned_long",0},
12478 { "_long","_signed_long",0},
12479 { "_size_t","_wxCoord",0},
12480 { "_size_t","_wxPrintQuality",0},
12481 { "_size_t","_time_t",0},
12482 { "_size_t","_unsigned_int",0},
12483 { "_size_t","_int",0},
12484 { "_size_t","_wxWindowID",0},
12485 { "_size_t","_uint",0},
12486 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
12487 { "_uint","_wxCoord",0},
12488 { "_uint","_wxPrintQuality",0},
12489 { "_uint","_time_t",0},
12490 { "_uint","_size_t",0},
12491 { "_uint","_unsigned_int",0},
12492 { "_uint","_int",0},
12493 { "_uint","_wxWindowID",0},
12494 { "_wxChar","_char",0},
12495 { "_char","_wxChar",0},
12496 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12497 { "_EBool","_wxCoord",0},
12498 { "_EBool","_wxPrintQuality",0},
12499 { "_EBool","_signed_int",0},
12500 { "_EBool","_int",0},
12501 { "_EBool","_wxWindowID",0},
12502 { "_unsigned_long","_long",0},
12503 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12504 { "_signed_int","_wxCoord",0},
12505 { "_signed_int","_wxPrintQuality",0},
12506 { "_signed_int","_EBool",0},
12507 { "_signed_int","_wxWindowID",0},
12508 { "_signed_int","_int",0},
12509 { "_WXTYPE","_short",0},
12510 { "_WXTYPE","_signed_short",0},
12511 { "_WXTYPE","_unsigned_short",0},
12512 { "_unsigned_short","_WXTYPE",0},
12513 { "_unsigned_short","_short",0},
12514 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
12515 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
12516 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
12517 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
12518 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
12519 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
12520 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
12521 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
12522 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
12523 { "_signed_short","_WXTYPE",0},
12524 { "_signed_short","_short",0},
12525 { "_unsigned_char","_byte",0},
12526 { "_unsigned_int","_wxCoord",0},
12527 { "_unsigned_int","_wxPrintQuality",0},
12528 { "_unsigned_int","_time_t",0},
12529 { "_unsigned_int","_size_t",0},
12530 { "_unsigned_int","_uint",0},
12531 { "_unsigned_int","_wxWindowID",0},
12532 { "_unsigned_int","_int",0},
12533 { "_short","_WXTYPE",0},
12534 { "_short","_unsigned_short",0},
12535 { "_short","_signed_short",0},
12536 { "_wxWindowID","_wxCoord",0},
12537 { "_wxWindowID","_wxPrintQuality",0},
12538 { "_wxWindowID","_time_t",0},
12539 { "_wxWindowID","_size_t",0},
12540 { "_wxWindowID","_EBool",0},
12541 { "_wxWindowID","_uint",0},
12542 { "_wxWindowID","_int",0},
12543 { "_wxWindowID","_signed_int",0},
12544 { "_wxWindowID","_unsigned_int",0},
12545 { "_int","_wxCoord",0},
12546 { "_int","_wxPrintQuality",0},
12547 { "_int","_time_t",0},
12548 { "_int","_size_t",0},
12549 { "_int","_EBool",0},
12550 { "_int","_uint",0},
12551 { "_int","_wxWindowID",0},
12552 { "_int","_unsigned_int",0},
12553 { "_int","_signed_int",0},
12554 { "_time_t","_wxCoord",0},
12555 { "_time_t","_wxPrintQuality",0},
12556 { "_time_t","_unsigned_int",0},
12557 { "_time_t","_int",0},
12558 { "_time_t","_wxWindowID",0},
12559 { "_time_t","_uint",0},
12560 { "_time_t","_size_t",0},
12561 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
12562 { "_wxCoord","_int",0},
12563 { "_wxCoord","_signed_int",0},
12564 { "_wxCoord","_unsigned_int",0},
12565 { "_wxCoord","_wxWindowID",0},
12566 { "_wxCoord","_uint",0},
12567 { "_wxCoord","_EBool",0},
12568 { "_wxCoord","_size_t",0},
12569 { "_wxCoord","_time_t",0},
12570 { "_wxCoord","_wxPrintQuality",0},
12571 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
12572 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
12573 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
12574 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
12575 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
12576 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
12577 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
12578 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
12579 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
12580 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
12583 static PyObject
*SWIG_globals
;
12587 SWIGEXPORT(void) initwindowsc() {
12589 SWIG_globals
= SWIG_newvarlink();
12590 m
= Py_InitModule("windowsc", windowscMethods
);
12591 d
= PyModule_GetDict(m
);
12594 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12595 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);