2 * FILE : src/mac/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
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
140 return wxWindow::FindWindowById(id
, parent
);
143 wxWindow
* wxFindWindowByName( const wxString
& name
,
144 const wxWindow
*parent
= NULL
) {
145 return wxWindow::FindWindowByName(name
, parent
);
148 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
149 const wxWindow
*parent
= NULL
) {
150 return wxWindow::FindWindowByLabel(label
, parent
);
155 static PyObject
*_wrap_wxFindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
159 wxWindow
* _arg1
= (wxWindow
*) NULL
;
160 PyObject
* _argo1
= 0;
161 char *_kwnames
[] = { "id","parent", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l|O:wxFindWindowById",_kwnames
,&_arg0
,&_argo1
))
167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowById. Expected _wxWindow_p.");
174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
175 _result
= (wxWindow
*)wxFindWindowById(_arg0
,_arg1
);
177 wxPyEndAllowThreads(__tstate
);
178 if (PyErr_Occurred()) return NULL
;
179 }{ _resultobj
= wxPyMake_wxObject(_result
); }
183 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
187 wxWindow
* _arg1
= (wxWindow
*) NULL
;
188 PyObject
* _obj0
= 0;
189 PyObject
* _argo1
= 0;
190 char *_kwnames
[] = { "name","parent", NULL
};
193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
196 _arg0
= wxString_in_helper(_obj0
);
201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
209 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
211 wxPyEndAllowThreads(__tstate
);
212 if (PyErr_Occurred()) return NULL
;
213 }{ _resultobj
= wxPyMake_wxObject(_result
); }
221 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
222 PyObject
* _resultobj
;
225 wxWindow
* _arg1
= (wxWindow
*) NULL
;
226 PyObject
* _obj0
= 0;
227 PyObject
* _argo1
= 0;
228 char *_kwnames
[] = { "label","parent", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
234 _arg0
= wxString_in_helper(_obj0
);
239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
247 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
249 wxPyEndAllowThreads(__tstate
);
250 if (PyErr_Occurred()) return NULL
;
251 }{ _resultobj
= wxPyMake_wxObject(_result
); }
259 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
262 src
= (wxEvtHandler
*) ptr
;
263 dest
= (wxObject
*) src
;
264 return (void *) dest
;
267 #define new_wxEvtHandler() (new wxEvtHandler())
268 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
270 wxEvtHandler
* _result
;
271 char *_kwnames
[] = { NULL
};
275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
279 _result
= (wxEvtHandler
*)new_wxEvtHandler();
281 wxPyEndAllowThreads(__tstate
);
282 if (PyErr_Occurred()) return NULL
;
284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
285 _resultobj
= Py_BuildValue("s",_ptemp
);
288 _resultobj
= Py_None
;
293 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
294 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
297 wxEvtHandler
* _arg0
;
299 PyObject
* _argo0
= 0;
300 PyObject
* _argo1
= 0;
301 char *_kwnames
[] = { "self","event", NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
314 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
325 } _resultobj
= Py_BuildValue("i",_result
);
329 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
330 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
332 wxEvtHandler
* _arg0
;
334 PyObject
* _argo0
= 0;
335 PyObject
* _argo1
= 0;
336 char *_kwnames
[] = { "self","event", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
349 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
360 } Py_INCREF(Py_None
);
361 _resultobj
= Py_None
;
365 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
366 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
369 wxEvtHandler
* _arg0
;
370 PyObject
* _argo0
= 0;
371 char *_kwnames
[] = { "self", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
385 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
387 wxPyEndAllowThreads(__tstate
);
388 if (PyErr_Occurred()) return NULL
;
389 } _resultobj
= Py_BuildValue("i",_result
);
393 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
394 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
396 wxEvtHandler
* _arg0
;
398 PyObject
* _argo0
= 0;
400 char *_kwnames
[] = { "self","enabled", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
412 _arg1
= (bool ) tempbool1
;
414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
415 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
417 wxPyEndAllowThreads(__tstate
);
418 if (PyErr_Occurred()) return NULL
;
419 } Py_INCREF(Py_None
);
420 _resultobj
= Py_None
;
424 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
425 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
426 PyObject
* _resultobj
;
427 wxEvtHandler
* _result
;
428 wxEvtHandler
* _arg0
;
429 PyObject
* _argo0
= 0;
430 char *_kwnames
[] = { "self", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
444 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
446 wxPyEndAllowThreads(__tstate
);
447 if (PyErr_Occurred()) return NULL
;
448 }{ _resultobj
= wxPyMake_wxObject(_result
); }
452 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
453 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
455 wxEvtHandler
* _result
;
456 wxEvtHandler
* _arg0
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
472 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
474 wxPyEndAllowThreads(__tstate
);
475 if (PyErr_Occurred()) return NULL
;
476 }{ _resultobj
= wxPyMake_wxObject(_result
); }
480 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
481 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxEvtHandler
* _arg0
;
484 wxEvtHandler
* _arg1
;
485 PyObject
* _argo0
= 0;
486 PyObject
* _argo1
= 0;
487 char *_kwnames
[] = { "self","handler", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
508 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
510 wxPyEndAllowThreads(__tstate
);
511 if (PyErr_Occurred()) return NULL
;
512 } Py_INCREF(Py_None
);
513 _resultobj
= Py_None
;
517 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
518 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
520 wxEvtHandler
* _arg0
;
521 wxEvtHandler
* _arg1
;
522 PyObject
* _argo0
= 0;
523 PyObject
* _argo1
= 0;
524 char *_kwnames
[] = { "self","handler", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
545 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
547 wxPyEndAllowThreads(__tstate
);
548 if (PyErr_Occurred()) return NULL
;
549 } Py_INCREF(Py_None
);
550 _resultobj
= Py_None
;
554 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
555 if (PyCallable_Check(func
)) {
556 self
->Connect(id
, lastId
, eventType
,
557 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
558 new wxPyCallback(func
));
560 else if (func
== Py_None
) {
561 self
->Disconnect(id
, lastId
, eventType
,
562 (wxObjectEventFunction
)
563 &wxPyCallback::EventThunker
);
566 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
569 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
571 wxEvtHandler
* _arg0
;
576 PyObject
* _argo0
= 0;
577 PyObject
* _obj4
= 0;
578 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
595 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
597 wxPyEndAllowThreads(__tstate
);
598 if (PyErr_Occurred()) return NULL
;
599 } Py_INCREF(Py_None
);
600 _resultobj
= Py_None
;
604 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
605 return self
->Disconnect(id
, lastId
, eventType
,
606 (wxObjectEventFunction
)
607 &wxPyCallback::EventThunker
);
609 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
610 PyObject
* _resultobj
;
612 wxEvtHandler
* _arg0
;
614 int _arg2
= (int ) -1;
615 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
616 PyObject
* _argo0
= 0;
617 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
631 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
633 wxPyEndAllowThreads(__tstate
);
634 if (PyErr_Occurred()) return NULL
;
635 } _resultobj
= Py_BuildValue("i",_result
);
639 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
640 self
->SetClientObject(new wxPyOORClientData(_self
));
642 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
644 wxEvtHandler
* _arg0
;
646 PyObject
* _argo0
= 0;
647 PyObject
* _obj1
= 0;
648 char *_kwnames
[] = { "self","_self", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) return NULL
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
677 src
= (wxValidator
*) ptr
;
678 dest
= (wxEvtHandler
*) src
;
679 return (void *) dest
;
682 static void *SwigwxValidatorTowxObject(void *ptr
) {
685 src
= (wxValidator
*) ptr
;
686 dest
= (wxObject
*) src
;
687 return (void *) dest
;
690 #define new_wxValidator() (new wxValidator())
691 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
693 wxValidator
* _result
;
694 char *_kwnames
[] = { NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= (wxValidator
*)new_wxValidator();
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
707 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
708 _resultobj
= Py_BuildValue("s",_ptemp
);
711 _resultobj
= Py_None
;
716 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
717 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
719 wxValidator
* _result
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
740 }{ _resultobj
= wxPyMake_wxObject(_result
); }
744 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
745 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
749 PyObject
* _argo0
= 0;
750 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
766 wxPyEndAllowThreads(__tstate
);
767 if (PyErr_Occurred()) return NULL
;
768 }{ _resultobj
= wxPyMake_wxObject(_result
); }
772 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
773 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
777 PyObject
* _argo0
= 0;
778 PyObject
* _argo1
= 0;
779 char *_kwnames
[] = { "self","window", NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
792 if (_argo1
== Py_None
) { _arg1
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 wxValidator_SetWindow(_arg0
,_arg1
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
809 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
812 char *_kwnames
[] = { NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
819 _result
= (bool )wxValidator::IsSilent();
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) return NULL
;
823 } _resultobj
= Py_BuildValue("i",_result
);
827 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 PyObject
* _resultobj
;
829 int _arg0
= (int ) TRUE
;
830 char *_kwnames
[] = { "doIt", NULL
};
833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 wxValidator::SetBellOnError(_arg0
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
849 src
= (wxPyValidator
*) ptr
;
850 dest
= (wxValidator
*) src
;
851 return (void *) dest
;
854 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
857 src
= (wxPyValidator
*) ptr
;
858 dest
= (wxEvtHandler
*) src
;
859 return (void *) dest
;
862 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
865 src
= (wxPyValidator
*) ptr
;
866 dest
= (wxObject
*) src
;
867 return (void *) dest
;
870 #define new_wxPyValidator() (new wxPyValidator())
871 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
873 wxPyValidator
* _result
;
874 char *_kwnames
[] = { NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
882 _result
= (wxPyValidator
*)new_wxPyValidator();
884 wxPyEndAllowThreads(__tstate
);
885 if (PyErr_Occurred()) return NULL
;
887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
888 _resultobj
= Py_BuildValue("s",_ptemp
);
891 _resultobj
= Py_None
;
896 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
897 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxPyValidator
* _arg0
;
902 int _arg3
= (int ) TRUE
;
903 PyObject
* _argo0
= 0;
904 PyObject
* _obj1
= 0;
905 PyObject
* _obj2
= 0;
906 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
938 src
= (wxWindow
*) ptr
;
939 dest
= (wxEvtHandler
*) src
;
940 return (void *) dest
;
943 static void *SwigwxWindowTowxObject(void *ptr
) {
946 src
= (wxWindow
*) ptr
;
947 dest
= (wxObject
*) src
;
948 return (void *) dest
;
951 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
952 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
957 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
958 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
959 long _arg4
= (long ) 0;
960 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
961 PyObject
* _argo0
= 0;
963 PyObject
* _obj2
= 0;
965 PyObject
* _obj3
= 0;
966 PyObject
* _obj5
= 0;
967 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
983 if (! wxPoint_helper(_obj2
, &_arg2
))
989 if (! wxSize_helper(_obj3
, &_arg3
))
994 _arg5
= wxString_in_helper(_obj5
);
999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1000 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
1002 wxPyEndAllowThreads(__tstate
);
1003 if (PyErr_Occurred()) return NULL
;
1005 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1006 _resultobj
= Py_BuildValue("s",_ptemp
);
1009 _resultobj
= Py_None
;
1018 #define new_wxPreWindow() (new wxWindow())
1019 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1022 char *_kwnames
[] = { NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 _result
= (wxWindow
*)new_wxPreWindow();
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) return NULL
;
1035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1036 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 _resultobj
= Py_None
;
1044 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1045 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1051 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1052 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1053 long _arg5
= (long ) 0;
1054 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
1055 PyObject
* _argo0
= 0;
1056 PyObject
* _argo1
= 0;
1058 PyObject
* _obj3
= 0;
1060 PyObject
* _obj4
= 0;
1061 PyObject
* _obj6
= 0;
1062 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
1075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
1084 if (! wxPoint_helper(_obj3
, &_arg3
))
1090 if (! wxSize_helper(_obj4
, &_arg4
))
1095 _arg6
= wxString_in_helper(_obj6
);
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1113 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1114 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 int _arg1
= (int ) wxBOTH
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self","direction", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 wxWindow_Center(_arg0
,_arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1143 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1146 int _arg1
= (int ) wxBOTH
;
1147 PyObject
* _argo0
= 0;
1148 char *_kwnames
[] = { "self","direction", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxWindow_Centre(_arg0
,_arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1172 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 int _arg1
= (int ) wxBOTH
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self","direction", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_CentreOnParent(_arg0
,_arg1
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1201 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 int _arg1
= (int ) wxBOTH
;
1205 PyObject
* _argo0
= 0;
1206 char *_kwnames
[] = { "self","direction", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 wxWindow_CenterOnParent(_arg0
,_arg1
);
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) return NULL
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1229 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1230 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1233 int _arg1
= (int ) wxBOTH
;
1234 PyObject
* _argo0
= 0;
1235 char *_kwnames
[] = { "self","direction", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) return NULL
;
1253 } Py_INCREF(Py_None
);
1254 _resultobj
= Py_None
;
1258 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1259 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1262 int _arg1
= (int ) wxBOTH
;
1263 PyObject
* _argo0
= 0;
1264 char *_kwnames
[] = { "self","direction", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1278 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1280 wxPyEndAllowThreads(__tstate
);
1281 if (PyErr_Occurred()) return NULL
;
1282 } Py_INCREF(Py_None
);
1283 _resultobj
= Py_None
;
1287 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1288 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 wxWindow_Clear(_arg0
);
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } Py_INCREF(Py_None
);
1311 _resultobj
= Py_None
;
1315 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1316 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1321 PyObject
* _argo0
= 0;
1323 PyObject
* _obj1
= 0;
1325 PyObject
* _obj2
= 0;
1326 char *_kwnames
[] = { "self","x","y", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1339 temp
= (int) PyInt_AsLong(_obj1
);
1343 temp0
= (int) PyInt_AsLong(_obj2
);
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } Py_INCREF(Py_None
);
1353 _resultobj
= Py_None
;
1356 o
= PyInt_FromLong((long) (*_arg1
));
1357 _resultobj
= t_output_helper(_resultobj
, o
);
1361 o
= PyInt_FromLong((long) (*_arg2
));
1362 _resultobj
= t_output_helper(_resultobj
, o
);
1367 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1368 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1373 PyObject
* _argo0
= 0;
1375 PyObject
* _obj1
= 0;
1376 char *_kwnames
[] = { "self","pt", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1391 if (! wxPoint_helper(_obj1
, &_arg1
))
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1401 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1406 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 int _arg1
= (int ) FALSE
;
1411 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","force", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1430 } _resultobj
= Py_BuildValue("i",_result
);
1434 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1435 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1439 PyObject
* _argo0
= 0;
1440 char *_kwnames
[] = { "self", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1454 _result
= (bool )wxWindow_Destroy(_arg0
);
1456 wxPyEndAllowThreads(__tstate
);
1457 if (PyErr_Occurred()) return NULL
;
1458 } _resultobj
= Py_BuildValue("i",_result
);
1462 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1463 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1466 PyObject
* _argo0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1481 wxWindow_DestroyChildren(_arg0
);
1483 wxPyEndAllowThreads(__tstate
);
1484 if (PyErr_Occurred()) return NULL
;
1485 } Py_INCREF(Py_None
);
1486 _resultobj
= Py_None
;
1490 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1491 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1495 PyObject
* _argo0
= 0;
1496 char *_kwnames
[] = { "self", NULL
};
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1519 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1523 PyObject
* _argo0
= 0;
1525 char *_kwnames
[] = { "self","enable", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1537 _arg1
= (bool ) tempbool1
;
1539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1540 wxWindow_Enable(_arg0
,_arg1
);
1542 wxPyEndAllowThreads(__tstate
);
1543 if (PyErr_Occurred()) return NULL
;
1544 } Py_INCREF(Py_None
);
1545 _resultobj
= Py_None
;
1549 #define wxWindow_Disable(_swigobj) (_swigobj->Disable())
1550 static PyObject
*_wrap_wxWindow_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1553 PyObject
* _argo0
= 0;
1554 char *_kwnames
[] = { "self", NULL
};
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Disable",_kwnames
,&_argo0
))
1560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Disable. Expected _wxWindow_p.");
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 wxWindow_Disable(_arg0
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) return NULL
;
1572 } Py_INCREF(Py_None
);
1573 _resultobj
= Py_None
;
1577 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1578 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1583 PyObject
* _argo0
= 0;
1584 char *_kwnames
[] = { "self","id", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) return NULL
;
1602 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1606 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1607 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1612 PyObject
* _argo0
= 0;
1613 PyObject
* _obj1
= 0;
1614 char *_kwnames
[] = { "self","name", NULL
};
1617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1627 _arg1
= wxString_in_helper(_obj1
);
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) return NULL
;
1637 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1645 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1646 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1649 PyObject
* _argo0
= 0;
1650 char *_kwnames
[] = { "self", NULL
};
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 wxWindow_Fit(_arg0
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1668 } Py_INCREF(Py_None
);
1669 _resultobj
= Py_None
;
1673 #define wxWindow_FitInside(_swigobj) (_swigobj->FitInside())
1674 static PyObject
*_wrap_wxWindow_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1677 PyObject
* _argo0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_FitInside",_kwnames
,&_argo0
))
1684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FitInside. Expected _wxWindow_p.");
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 wxWindow_FitInside(_arg0
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1702 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1706 PyObject
* _argo0
= 0;
1707 char *_kwnames
[] = { "self", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1731 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1732 wxWindowList
& list
= self
->GetChildren();
1733 return wxPy_ConvertList(&list
, "wxWindow");
1735 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1739 PyObject
* _argo0
= 0;
1740 char *_kwnames
[] = { "self", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) return NULL
;
1759 _resultobj
= _result
;
1764 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1765 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) return NULL
;
1788 } _resultobj
= Py_BuildValue("i",_result
);
1792 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1793 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1797 PyObject
* _argo0
= 0;
1798 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } _resultobj
= Py_BuildValue("i",_result
);
1820 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1821 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1828 PyObject
* _argo0
= 0;
1829 char *_kwnames
[] = { "self", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) return NULL
;
1853 } Py_INCREF(Py_None
);
1854 _resultobj
= Py_None
;
1857 o
= PyInt_FromLong((long) (*_arg1
));
1858 _resultobj
= t_output_helper(_resultobj
, o
);
1862 o
= PyInt_FromLong((long) (*_arg2
));
1863 _resultobj
= t_output_helper(_resultobj
, o
);
1868 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1869 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 PyObject
* _argo0
= 0;
1874 char *_kwnames
[] = { "self", NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1893 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1894 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1899 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1924 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1929 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1934 char *_kwnames
[] = { "self", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1954 _resultobj
= Py_BuildValue("s",_ptemp
);
1958 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1959 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1961 wxLayoutConstraints
* _result
;
1963 PyObject
* _argo0
= 0;
1964 char *_kwnames
[] = { "self", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) return NULL
;
1984 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1985 _resultobj
= Py_BuildValue("s",_ptemp
);
1988 _resultobj
= Py_None
;
1993 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1994 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1996 wxEvtHandler
* _result
;
1998 PyObject
* _argo0
= 0;
1999 char *_kwnames
[] = { "self", NULL
};
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
2005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2021 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
2022 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2026 PyObject
* _argo0
= 0;
2027 char *_kwnames
[] = { "self", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
2034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 _result
= new wxFont (wxWindow_GetFont(_arg0
));
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) return NULL
;
2046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2047 _resultobj
= Py_BuildValue("s",_ptemp
);
2051 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
2052 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
* _resultobj
;
2056 PyObject
* _argo0
= 0;
2057 char *_kwnames
[] = { "self", NULL
};
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
2064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) return NULL
;
2076 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2077 _resultobj
= Py_BuildValue("s",_ptemp
);
2081 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
2082 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2086 PyObject
* _argo0
= 0;
2087 char *_kwnames
[] = { "self", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
2093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2109 static long wxWindow_GetHandle(wxWindow
*self
) {
2110 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
2112 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 _result
= (long )wxWindow_GetHandle(_arg0
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) return NULL
;
2135 } _resultobj
= Py_BuildValue("l",_result
);
2139 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
2140 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2144 PyObject
* _argo0
= 0;
2145 char *_kwnames
[] = { "self", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 _result
= (int )wxWindow_GetId(_arg0
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 } _resultobj
= Py_BuildValue("i",_result
);
2167 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2168 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2172 PyObject
* _argo0
= 0;
2173 char *_kwnames
[] = { "self", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2189 wxPyEndAllowThreads(__tstate
);
2190 if (PyErr_Occurred()) return NULL
;
2193 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2195 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2204 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2205 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
* _resultobj
;
2209 PyObject
* _argo0
= 0;
2210 PyObject
* _obj1
= 0;
2211 char *_kwnames
[] = { "self","label", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2224 _arg1
= wxString_in_helper(_obj1
);
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 wxWindow_SetLabel(_arg0
,*_arg1
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) return NULL
;
2234 } Py_INCREF(Py_None
);
2235 _resultobj
= Py_None
;
2243 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2244 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 _result
= new wxString (wxWindow_GetName(_arg0
));
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) return NULL
;
2269 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2271 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2280 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2281 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2285 PyObject
* _argo0
= 0;
2286 char *_kwnames
[] = { "self", NULL
};
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) return NULL
;
2304 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2308 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2309 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2316 PyObject
* _argo0
= 0;
2317 char *_kwnames
[] = { "self", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) return NULL
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2345 o
= PyInt_FromLong((long) (*_arg1
));
2346 _resultobj
= t_output_helper(_resultobj
, o
);
2350 o
= PyInt_FromLong((long) (*_arg2
));
2351 _resultobj
= t_output_helper(_resultobj
, o
);
2356 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2357 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) return NULL
;
2381 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2382 _resultobj
= Py_BuildValue("s",_ptemp
);
2386 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2387 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
* _resultobj
;
2391 PyObject
* _argo0
= 0;
2392 char *_kwnames
[] = { "self", NULL
};
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) return NULL
;
2411 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2412 _resultobj
= Py_BuildValue("s",_ptemp
);
2416 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2417 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2422 PyObject
* _argo0
= 0;
2423 char *_kwnames
[] = { "self","orientation", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) return NULL
;
2441 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2446 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2451 PyObject
* _argo0
= 0;
2452 char *_kwnames
[] = { "self","orientation", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) return NULL
;
2470 } _resultobj
= Py_BuildValue("i",_result
);
2474 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2475 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2480 PyObject
* _argo0
= 0;
2481 char *_kwnames
[] = { "self","orientation", NULL
};
2484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } _resultobj
= Py_BuildValue("i",_result
);
2503 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2504 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2540 o
= PyInt_FromLong((long) (*_arg1
));
2541 _resultobj
= t_output_helper(_resultobj
, o
);
2545 o
= PyInt_FromLong((long) (*_arg2
));
2546 _resultobj
= t_output_helper(_resultobj
, o
);
2551 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2552 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2556 PyObject
* _argo0
= 0;
2557 char *_kwnames
[] = { "self", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) return NULL
;
2576 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2577 _resultobj
= Py_BuildValue("s",_ptemp
);
2581 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2582 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2590 PyObject
* _argo0
= 0;
2591 PyObject
* _obj1
= 0;
2592 char *_kwnames
[] = { "self","string", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2611 _arg1
= wxString_in_helper(_obj1
);
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } Py_INCREF(Py_None
);
2622 _resultobj
= Py_None
;
2625 o
= PyInt_FromLong((long) (*_arg2
));
2626 _resultobj
= t_output_helper(_resultobj
, o
);
2630 o
= PyInt_FromLong((long) (*_arg3
));
2631 _resultobj
= t_output_helper(_resultobj
, o
);
2640 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2641 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2653 wxFont
* _arg6
= (wxFont
*) NULL
;
2654 PyObject
* _argo0
= 0;
2655 PyObject
* _obj1
= 0;
2656 PyObject
* _argo6
= 0;
2657 char *_kwnames
[] = { "self","string","font", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2682 _arg1
= wxString_in_helper(_obj1
);
2687 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) return NULL
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2703 o
= PyInt_FromLong((long) (*_arg2
));
2704 _resultobj
= t_output_helper(_resultobj
, o
);
2708 o
= PyInt_FromLong((long) (*_arg3
));
2709 _resultobj
= t_output_helper(_resultobj
, o
);
2713 o
= PyInt_FromLong((long) (*_arg4
));
2714 _resultobj
= t_output_helper(_resultobj
, o
);
2718 o
= PyInt_FromLong((long) (*_arg5
));
2719 _resultobj
= t_output_helper(_resultobj
, o
);
2728 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2729 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) return NULL
;
2754 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
2756 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2765 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2766 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self", NULL
};
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) return NULL
;
2790 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2791 _resultobj
= Py_BuildValue("s",_ptemp
);
2795 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2796 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } _resultobj
= Py_BuildValue("l",_result
);
2823 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2824 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self","style", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
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_SetWindowStyleFlag. Expected _wxWindow_p.");
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2853 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self","style", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
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_SetWindowStyle. Expected _wxWindow_p.");
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2876 } Py_INCREF(Py_None
);
2877 _resultobj
= Py_None
;
2881 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2882 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2887 PyObject
* _argo0
= 0;
2888 char *_kwnames
[] = { "self","orient", NULL
};
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) return NULL
;
2906 } _resultobj
= Py_BuildValue("i",_result
);
2910 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2911 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2915 PyObject
* _argo0
= 0;
2916 char *_kwnames
[] = { "self", NULL
};
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 _result
= (bool )wxWindow_Hide(_arg0
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2934 } _resultobj
= Py_BuildValue("i",_result
);
2938 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2939 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2944 PyObject
* _argo0
= 0;
2946 PyObject
* _obj1
= 0;
2947 char *_kwnames
[] = { "self","pt", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2961 if (! wxPoint_helper(_obj1
, &_arg1
))
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) return NULL
;
2970 } _resultobj
= Py_BuildValue("i",_result
);
2974 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2975 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2978 PyObject
* _argo0
= 0;
2979 char *_kwnames
[] = { "self", NULL
};
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2993 wxWindow_InitDialog(_arg0
);
2995 wxPyEndAllowThreads(__tstate
);
2996 if (PyErr_Occurred()) return NULL
;
2997 } Py_INCREF(Py_None
);
2998 _resultobj
= Py_None
;
3002 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
3003 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 _result
= (bool )wxWindow_IsEnabled(_arg0
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3026 } _resultobj
= Py_BuildValue("i",_result
);
3030 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3031 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3037 int _arg3
= (int ) 0;
3038 int _arg4
= (int ) 0;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) return NULL
;
3058 } _resultobj
= Py_BuildValue("i",_result
);
3062 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3063 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
* _resultobj
;
3068 PyObject
* _argo0
= 0;
3070 PyObject
* _obj1
= 0;
3071 char *_kwnames
[] = { "self","pt", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
3085 if (! wxPoint_helper(_obj1
, &_arg1
))
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) return NULL
;
3094 } _resultobj
= Py_BuildValue("i",_result
);
3098 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
3099 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
* _resultobj
;
3104 PyObject
* _argo0
= 0;
3106 PyObject
* _obj1
= 0;
3107 char *_kwnames
[] = { "self","rect", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
3113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
3121 if (! wxRect_helper(_obj1
, &_arg1
))
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) return NULL
;
3130 } _resultobj
= Py_BuildValue("i",_result
);
3134 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
3135 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3139 PyObject
* _argo0
= 0;
3140 char *_kwnames
[] = { "self", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3154 _result
= (bool )wxWindow_IsRetained(_arg0
);
3156 wxPyEndAllowThreads(__tstate
);
3157 if (PyErr_Occurred()) return NULL
;
3158 } _resultobj
= Py_BuildValue("i",_result
);
3162 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3163 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 _result
= (bool )wxWindow_IsShown(_arg0
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) return NULL
;
3186 } _resultobj
= Py_BuildValue("i",_result
);
3190 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3191 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3195 PyObject
* _argo0
= 0;
3196 char *_kwnames
[] = { "self", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } _resultobj
= Py_BuildValue("i",_result
);
3218 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3219 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3222 PyObject
* _argo0
= 0;
3223 char *_kwnames
[] = { "self", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 wxWindow_Layout(_arg0
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) return NULL
;
3241 } Py_INCREF(Py_None
);
3242 _resultobj
= Py_None
;
3246 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3247 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 wxWindow_Lower(_arg0
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3275 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3278 bool _arg1
= (bool ) TRUE
;
3279 PyObject
* _argo0
= 0;
3280 int tempbool1
= (int) TRUE
;
3281 char *_kwnames
[] = { "self","flag", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3293 _arg1
= (bool ) tempbool1
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxWindow_MakeModal(_arg0
,_arg1
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) return NULL
;
3300 } Py_INCREF(Py_None
);
3301 _resultobj
= Py_None
;
3305 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3306 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3311 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3312 PyObject
* _argo0
= 0;
3313 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) return NULL
;
3331 } Py_INCREF(Py_None
);
3332 _resultobj
= Py_None
;
3336 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3337 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3341 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3342 PyObject
* _argo0
= 0;
3344 PyObject
* _obj1
= 0;
3345 char *_kwnames
[] = { "self","point","flags", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3359 if (! wxPoint_helper(_obj1
, &_arg1
))
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) return NULL
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3373 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3374 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxEvtHandler
* _result
;
3378 bool _arg1
= (bool ) FALSE
;
3379 PyObject
* _argo0
= 0;
3380 int tempbool1
= (int) FALSE
;
3381 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3393 _arg1
= (bool ) tempbool1
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) return NULL
;
3400 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3404 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3405 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3408 wxEvtHandler
* _arg1
;
3409 PyObject
* _argo0
= 0;
3410 PyObject
* _argo1
= 0;
3411 char *_kwnames
[] = { "self","handler", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3424 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 wxWindow_PushEventHandler(_arg0
,_arg1
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) return NULL
;
3436 } Py_INCREF(Py_None
);
3437 _resultobj
= Py_None
;
3441 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3442 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3446 wxEvtHandler
* _arg1
;
3447 PyObject
* _argo0
= 0;
3448 PyObject
* _argo1
= 0;
3449 char *_kwnames
[] = { "self","handler", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) return NULL
;
3474 } _resultobj
= Py_BuildValue("i",_result
);
3478 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3479 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3486 PyObject
* _argo0
= 0;
3487 PyObject
* _argo1
= 0;
3488 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3501 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3502 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3511 wxPyEndAllowThreads(__tstate
);
3512 if (PyErr_Occurred()) return NULL
;
3513 } _resultobj
= Py_BuildValue("i",_result
);
3517 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3518 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3524 PyObject
* _argo0
= 0;
3525 PyObject
* _argo1
= 0;
3527 PyObject
* _obj2
= 0;
3528 char *_kwnames
[] = { "self","menu","pos", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3549 if (! wxPoint_helper(_obj2
, &_arg2
))
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) return NULL
;
3558 } _resultobj
= Py_BuildValue("i",_result
);
3562 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3563 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3564 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 wxWindow_Raise(_arg0
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) return NULL
;
3585 } Py_INCREF(Py_None
);
3586 _resultobj
= Py_None
;
3590 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3591 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3594 bool _arg1
= (bool ) TRUE
;
3595 wxRect
* _arg2
= (wxRect
*) NULL
;
3596 PyObject
* _argo0
= 0;
3597 int tempbool1
= (int) TRUE
;
3599 PyObject
* _obj2
= 0;
3600 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3612 _arg1
= (bool ) tempbool1
;
3616 if (! wxRect_helper(_obj2
, &_arg2
))
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3625 } Py_INCREF(Py_None
);
3626 _resultobj
= Py_None
;
3630 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3631 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3635 PyObject
* _argo0
= 0;
3637 PyObject
* _obj1
= 0;
3638 char *_kwnames
[] = { "self","rect", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3652 if (! wxRect_helper(_obj1
, &_arg1
))
3656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3657 wxWindow_RefreshRect(_arg0
,*_arg1
);
3659 wxPyEndAllowThreads(__tstate
);
3660 if (PyErr_Occurred()) return NULL
;
3661 } Py_INCREF(Py_None
);
3662 _resultobj
= Py_None
;
3666 #define wxWindow_AddChild(_swigobj,_swigarg0) (_swigobj->AddChild(_swigarg0))
3667 static PyObject
*_wrap_wxWindow_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3671 PyObject
* _argo0
= 0;
3672 PyObject
* _argo1
= 0;
3673 char *_kwnames
[] = { "self","child", NULL
};
3676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_AddChild",_kwnames
,&_argo0
,&_argo1
))
3679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AddChild. Expected _wxWindow_p.");
3686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_AddChild. Expected _wxWindow_p.");
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 wxWindow_AddChild(_arg0
,_arg1
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) return NULL
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3704 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _argo0
= 0;
3709 PyObject
* _argo1
= 0;
3710 char *_kwnames
[] = { "self","child", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 wxWindow_RemoveChild(_arg0
,_arg1
);
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) return NULL
;
3735 } Py_INCREF(Py_None
);
3736 _resultobj
= Py_None
;
3740 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3741 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3746 PyObject
* _argo0
= 0;
3747 PyObject
* _argo1
= 0;
3748 char *_kwnames
[] = { "self","newParent", NULL
};
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3773 } _resultobj
= Py_BuildValue("i",_result
);
3777 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3778 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3783 PyObject
* _argo0
= 0;
3785 PyObject
* _obj1
= 0;
3787 PyObject
* _obj2
= 0;
3788 char *_kwnames
[] = { "self","x","y", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3801 temp
= (int) PyInt_AsLong(_obj1
);
3805 temp0
= (int) PyInt_AsLong(_obj2
);
3809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3810 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3812 wxPyEndAllowThreads(__tstate
);
3813 if (PyErr_Occurred()) return NULL
;
3814 } Py_INCREF(Py_None
);
3815 _resultobj
= Py_None
;
3818 o
= PyInt_FromLong((long) (*_arg1
));
3819 _resultobj
= t_output_helper(_resultobj
, o
);
3823 o
= PyInt_FromLong((long) (*_arg2
));
3824 _resultobj
= t_output_helper(_resultobj
, o
);
3829 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3830 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3837 PyObject
* _obj1
= 0;
3838 char *_kwnames
[] = { "self","pt", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3853 if (! wxPoint_helper(_obj1
, &_arg1
))
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) return NULL
;
3862 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3863 _resultobj
= Py_BuildValue("s",_ptemp
);
3867 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3868 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3873 wxRect
* _arg3
= (wxRect
*) NULL
;
3874 PyObject
* _argo0
= 0;
3876 PyObject
* _obj3
= 0;
3877 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3892 if (! wxRect_helper(_obj3
, &_arg3
))
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) return NULL
;
3901 } Py_INCREF(Py_None
);
3902 _resultobj
= Py_None
;
3906 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3907 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
* _resultobj
;
3911 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self","autoLayout", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3925 _arg1
= (bool ) tempbool1
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3930 wxPyEndAllowThreads(__tstate
);
3931 if (PyErr_Occurred()) return NULL
;
3932 } Py_INCREF(Py_None
);
3933 _resultobj
= Py_None
;
3937 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3938 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) return NULL
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3965 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3966 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3972 PyObject
* _obj1
= 0;
3973 char *_kwnames
[] = { "self","colour", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3987 if (! wxColour_helper(_obj1
, &_arg1
))
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) return NULL
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4001 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
4002 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4005 wxLayoutConstraints
* _arg1
;
4006 PyObject
* _argo0
= 0;
4007 PyObject
* _argo1
= 0;
4008 char *_kwnames
[] = { "self","constraints", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
4014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
4021 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 wxWindow_SetConstraints(_arg0
,_arg1
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) return NULL
;
4033 } Py_INCREF(Py_None
);
4034 _resultobj
= Py_None
;
4038 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
4039 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4042 wxLayoutConstraints
* _arg1
;
4043 PyObject
* _argo0
= 0;
4044 PyObject
* _argo1
= 0;
4045 char *_kwnames
[] = { "self","constraints", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
4058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 wxWindow_UnsetConstraints(_arg0
,_arg1
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) return NULL
;
4070 } Py_INCREF(Py_None
);
4071 _resultobj
= Py_None
;
4075 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
4076 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4079 PyObject
* _argo0
= 0;
4080 char *_kwnames
[] = { "self", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 wxWindow_SetFocus(_arg0
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) return NULL
;
4098 } Py_INCREF(Py_None
);
4099 _resultobj
= Py_None
;
4103 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
4104 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4108 char *_kwnames
[] = { "self", NULL
};
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
4114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 wxWindow_SetFocusFromKbd(_arg0
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) return NULL
;
4126 } Py_INCREF(Py_None
);
4127 _resultobj
= Py_None
;
4131 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4132 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 char *_kwnames
[] = { "self", NULL
};
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_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_AcceptsFocus. Expected _wxWindow_p.");
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } _resultobj
= Py_BuildValue("i",_result
);
4159 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4160 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4164 PyObject
* _argo0
= 0;
4165 PyObject
* _argo1
= 0;
4166 char *_kwnames
[] = { "self","font", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4179 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxWindow_SetFont(_arg0
,*_arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) return NULL
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4195 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4196 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4200 PyObject
* _argo0
= 0;
4202 PyObject
* _obj1
= 0;
4203 char *_kwnames
[] = { "self","colour", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4217 if (! wxColour_helper(_obj1
, &_arg1
))
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } Py_INCREF(Py_None
);
4227 _resultobj
= Py_None
;
4231 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4232 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4236 PyObject
* _argo0
= 0;
4237 char *_kwnames
[] = { "self","id", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 wxWindow_SetId(_arg0
,_arg1
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) return NULL
;
4255 } Py_INCREF(Py_None
);
4256 _resultobj
= Py_None
;
4260 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4261 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4265 PyObject
* _argo0
= 0;
4266 PyObject
* _obj1
= 0;
4267 char *_kwnames
[] = { "self","name", NULL
};
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4280 _arg1
= wxString_in_helper(_obj1
);
4285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 wxWindow_SetName(_arg0
,*_arg1
);
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) return NULL
;
4290 } Py_INCREF(Py_None
);
4291 _resultobj
= Py_None
;
4299 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4300 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
* _resultobj
;
4307 int _arg5
= (int ) TRUE
;
4308 PyObject
* _argo0
= 0;
4309 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) return NULL
;
4327 } Py_INCREF(Py_None
);
4328 _resultobj
= Py_None
;
4332 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4333 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4338 bool _arg3
= (bool ) TRUE
;
4339 PyObject
* _argo0
= 0;
4340 int tempbool3
= (int) TRUE
;
4341 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4353 _arg3
= (bool ) tempbool3
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) return NULL
;
4360 } Py_INCREF(Py_None
);
4361 _resultobj
= Py_None
;
4365 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4366 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4373 int _arg5
= (int ) wxSIZE_AUTO
;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4393 } Py_INCREF(Py_None
);
4394 _resultobj
= Py_None
;
4398 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4399 self
->SetSize(size
);
4401 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4405 PyObject
* _argo0
= 0;
4407 PyObject
* _obj1
= 0;
4408 char *_kwnames
[] = { "self","size", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4422 if (! wxSize_helper(_obj1
, &_arg1
))
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 wxWindow_SetSize(_arg0
,*_arg1
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) return NULL
;
4431 } Py_INCREF(Py_None
);
4432 _resultobj
= Py_None
;
4436 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4437 self
->Move(pos
, flags
);
4439 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4443 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4444 PyObject
* _argo0
= 0;
4446 PyObject
* _obj1
= 0;
4447 char *_kwnames
[] = { "self","pos","flags", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4461 if (! wxPoint_helper(_obj1
, &_arg1
))
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) return NULL
;
4470 } Py_INCREF(Py_None
);
4471 _resultobj
= Py_None
;
4475 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4476 self
->SetSize(rect
, sizeFlags
);
4478 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4482 int _arg2
= (int ) wxSIZE_AUTO
;
4483 PyObject
* _argo0
= 0;
4485 PyObject
* _obj1
= 0;
4486 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4500 if (! wxRect_helper(_obj1
, &_arg1
))
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4515 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4520 int _arg3
= (int ) -1;
4521 int _arg4
= (int ) -1;
4522 int _arg5
= (int ) -1;
4523 int _arg6
= (int ) -1;
4524 PyObject
* _argo0
= 0;
4525 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) return NULL
;
4543 } Py_INCREF(Py_None
);
4544 _resultobj
= Py_None
;
4548 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4549 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4554 int _arg3
= (int ) -1;
4555 int _arg4
= (int ) -1;
4556 PyObject
* _argo0
= 0;
4557 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeHints. Expected _wxWindow_p.");
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) return NULL
;
4575 } Py_INCREF(Py_None
);
4576 _resultobj
= Py_None
;
4580 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4581 static PyObject
*_wrap_wxWindow_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4585 PyObject
* _argo0
= 0;
4587 PyObject
* _obj1
= 0;
4588 char *_kwnames
[] = { "self","size", NULL
};
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetVirtualSize",_kwnames
,&_argo0
,&_obj1
))
4594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSize. Expected _wxWindow_p.");
4602 if (! wxSize_helper(_obj1
, &_arg1
))
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) return NULL
;
4611 } Py_INCREF(Py_None
);
4612 _resultobj
= Py_None
;
4616 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4617 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4622 PyObject
* _argo0
= 0;
4623 char *_kwnames
[] = { "self","x","y", NULL
};
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetVirtualSizeWH. Expected _wxWindow_p.");
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) return NULL
;
4641 } Py_INCREF(Py_None
);
4642 _resultobj
= Py_None
;
4646 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4647 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4651 PyObject
* _argo0
= 0;
4652 char *_kwnames
[] = { "self", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) return NULL
;
4671 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4672 _resultobj
= Py_BuildValue("s",_ptemp
);
4676 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4677 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4684 PyObject
* _argo0
= 0;
4685 char *_kwnames
[] = { "self", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) return NULL
;
4709 } Py_INCREF(Py_None
);
4710 _resultobj
= Py_None
;
4713 o
= PyInt_FromLong((long) (*_arg1
));
4714 _resultobj
= t_output_helper(_resultobj
, o
);
4718 o
= PyInt_FromLong((long) (*_arg2
));
4719 _resultobj
= t_output_helper(_resultobj
, o
);
4724 #define wxWindow_GetBestVirtualSize(_swigobj) (_swigobj->GetBestVirtualSize())
4725 static PyObject
*_wrap_wxWindow_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestVirtualSize",_kwnames
,&_argo0
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestVirtualSize. Expected _wxWindow_p.");
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 _result
= new wxSize (wxWindow_GetBestVirtualSize(_arg0
));
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) return NULL
;
4749 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4750 _resultobj
= Py_BuildValue("s",_ptemp
);
4754 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4755 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4760 PyObject
* _argo0
= 0;
4761 char *_kwnames
[] = { "self","width","height", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) return NULL
;
4779 } Py_INCREF(Py_None
);
4780 _resultobj
= Py_None
;
4784 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4785 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4789 PyObject
* _argo0
= 0;
4791 PyObject
* _obj1
= 0;
4792 char *_kwnames
[] = { "self","size", NULL
};
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4806 if (! wxSize_helper(_obj1
, &_arg1
))
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 wxWindow_SetClientSize(_arg0
,*_arg1
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) return NULL
;
4815 } Py_INCREF(Py_None
);
4816 _resultobj
= Py_None
;
4820 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4821 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
* _resultobj
;
4826 PyObject
* _argo0
= 0;
4827 PyObject
* _argo1
= 0;
4828 char *_kwnames
[] = { "self","cursor", NULL
};
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4841 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 _result
= (bool )wxWindow_SetCursor(_arg0
,*_arg1
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) return NULL
;
4852 } _resultobj
= Py_BuildValue("i",_result
);
4856 #define wxWindow_GetCursor(_swigobj) (_swigobj->GetCursor())
4857 static PyObject
*_wrap_wxWindow_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4861 PyObject
* _argo0
= 0;
4862 char *_kwnames
[] = { "self", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCursor",_kwnames
,&_argo0
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCursor. Expected _wxWindow_p.");
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 wxCursor
& _result_ref
= wxWindow_GetCursor(_arg0
);
4878 _result
= (wxCursor
*) &_result_ref
;
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) return NULL
;
4883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCursor_p");
4884 _resultobj
= Py_BuildValue("s",_ptemp
);
4887 _resultobj
= Py_None
;
4892 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4893 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
* _resultobj
;
4896 wxEvtHandler
* _arg1
;
4897 PyObject
* _argo0
= 0;
4898 PyObject
* _argo1
= 0;
4899 char *_kwnames
[] = { "self","handler", NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 wxWindow_SetEventHandler(_arg0
,_arg1
);
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) return NULL
;
4924 } Py_INCREF(Py_None
);
4925 _resultobj
= Py_None
;
4929 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4930 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
* _resultobj
;
4934 PyObject
* _argo0
= 0;
4935 char *_kwnames
[] = { "self","exStyle", NULL
};
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) return NULL
;
4953 } Py_INCREF(Py_None
);
4954 _resultobj
= Py_None
;
4958 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4959 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4963 PyObject
* _argo0
= 0;
4964 PyObject
* _obj1
= 0;
4965 char *_kwnames
[] = { "self","title", NULL
};
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4978 _arg1
= wxString_in_helper(_obj1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 wxWindow_SetTitle(_arg0
,*_arg1
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) return NULL
;
4988 } Py_INCREF(Py_None
);
4989 _resultobj
= Py_None
;
4997 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4998 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5002 bool _arg1
= (bool ) TRUE
;
5003 PyObject
* _argo0
= 0;
5004 int tempbool1
= (int) TRUE
;
5005 char *_kwnames
[] = { "self","show", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
5017 _arg1
= (bool ) tempbool1
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) return NULL
;
5024 } _resultobj
= Py_BuildValue("i",_result
);
5028 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
5029 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5033 PyObject
* _argo0
= 0;
5034 char *_kwnames
[] = { "self", NULL
};
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
5040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) return NULL
;
5052 } _resultobj
= Py_BuildValue("i",_result
);
5056 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
5057 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5061 PyObject
* _argo0
= 0;
5062 char *_kwnames
[] = { "self", NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
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_TransferDataToWindow. Expected _wxWindow_p.");
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) return NULL
;
5080 } _resultobj
= Py_BuildValue("i",_result
);
5084 #define wxWindow_UpdateWindowUI(_swigobj,_swigarg0) (_swigobj->UpdateWindowUI(_swigarg0))
5085 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5088 long _arg1
= (long ) wxUPDATE_UI_NONE
;
5089 PyObject
* _argo0
= 0;
5090 char *_kwnames
[] = { "self","flags", NULL
};
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
,&_arg1
))
5096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 wxWindow_UpdateWindowUI(_arg0
,_arg1
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) return NULL
;
5108 } Py_INCREF(Py_None
);
5109 _resultobj
= Py_None
;
5113 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
5114 static PyObject
*_wrap_wxWindow_Validate(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_Validate",_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_Validate. Expected _wxWindow_p.");
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 _result
= (bool )wxWindow_Validate(_arg0
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) return NULL
;
5137 } _resultobj
= Py_BuildValue("i",_result
);
5141 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5142 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5147 PyObject
* _argo0
= 0;
5149 PyObject
* _obj1
= 0;
5150 char *_kwnames
[] = { "self","pt", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
5165 if (! wxPoint_helper(_obj1
, &_arg1
))
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) return NULL
;
5174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5175 _resultobj
= Py_BuildValue("s",_ptemp
);
5179 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
5180 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5185 PyObject
* _argo0
= 0;
5187 PyObject
* _obj1
= 0;
5188 char *_kwnames
[] = { "self","sz", NULL
};
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5203 if (! wxSize_helper(_obj1
, &_arg1
))
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) return NULL
;
5212 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5213 _resultobj
= Py_BuildValue("s",_ptemp
);
5217 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5218 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
* _resultobj
;
5223 PyObject
* _argo0
= 0;
5225 PyObject
* _obj1
= 0;
5226 char *_kwnames
[] = { "self","pt", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5241 if (! wxPoint_helper(_obj1
, &_arg1
))
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) return NULL
;
5250 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5251 _resultobj
= Py_BuildValue("s",_ptemp
);
5255 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5256 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5261 PyObject
* _argo0
= 0;
5263 PyObject
* _obj1
= 0;
5264 char *_kwnames
[] = { "self","sz", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5279 if (! wxSize_helper(_obj1
, &_arg1
))
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) return NULL
;
5288 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5289 _resultobj
= Py_BuildValue("s",_ptemp
);
5293 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5294 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 PyObject
* _obj1
= 0;
5300 char *_kwnames
[] = { "self","tip", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5313 _arg1
= wxString_in_helper(_obj1
);
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) return NULL
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5332 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5333 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5337 PyObject
* _argo0
= 0;
5338 PyObject
* _argo1
= 0;
5339 char *_kwnames
[] = { "self","tooltip", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 wxWindow_SetToolTip(_arg0
,_arg1
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 } Py_INCREF(Py_None
);
5365 _resultobj
= Py_None
;
5369 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5370 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
* _resultobj
;
5372 wxToolTip
* _result
;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5397 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5398 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 bool _arg2
= (bool ) TRUE
;
5403 PyObject
* _argo0
= 0;
5404 PyObject
* _argo1
= 0;
5405 int tempbool2
= (int) TRUE
;
5406 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5425 _arg2
= (bool ) tempbool2
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5437 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5438 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5442 bool _arg2
= (bool ) TRUE
;
5443 PyObject
* _argo0
= 0;
5444 PyObject
* _argo1
= 0;
5445 int tempbool2
= (int) TRUE
;
5446 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5459 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5465 _arg2
= (bool ) tempbool2
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) return NULL
;
5472 } Py_INCREF(Py_None
);
5473 _resultobj
= Py_None
;
5477 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5478 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) return NULL
;
5501 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5505 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5506 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5510 PyObject
* _argo0
= 0;
5511 PyObject
* _argo1
= 0;
5512 char *_kwnames
[] = { "self","sizer", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5525 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5526 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) return NULL
;
5537 } Py_INCREF(Py_None
);
5538 _resultobj
= Py_None
;
5542 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5543 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5547 PyObject
* _argo0
= 0;
5548 char *_kwnames
[] = { "self", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) return NULL
;
5566 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5570 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5571 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
* _resultobj
;
5573 wxValidator
* _result
;
5575 PyObject
* _argo0
= 0;
5576 char *_kwnames
[] = { "self", NULL
};
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) return NULL
;
5594 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5598 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5599 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5602 wxValidator
* _arg1
;
5603 PyObject
* _argo0
= 0;
5604 PyObject
* _argo1
= 0;
5605 char *_kwnames
[] = { "self","validator", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
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_SetValidator. Expected _wxWindow_p.");
5618 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 wxWindow_SetValidator(_arg0
,*_arg1
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) return NULL
;
5629 } Py_INCREF(Py_None
);
5630 _resultobj
= Py_None
;
5634 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5635 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5638 wxDropTarget
* _arg1
;
5639 PyObject
* _argo0
= 0;
5640 PyObject
* _argo1
= 0;
5641 char *_kwnames
[] = { "self","target", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5654 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 wxWindow_SetDropTarget(_arg0
,_arg1
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5671 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5672 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5674 wxDropTarget
* _result
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5698 _resultobj
= Py_BuildValue("s",_ptemp
);
5701 _resultobj
= Py_None
;
5706 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5707 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
* _resultobj
;
5711 PyObject
* _argo0
= 0;
5712 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5732 _resultobj
= Py_BuildValue("s",_ptemp
);
5736 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5737 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5741 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) return NULL
;
5761 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5762 _resultobj
= Py_BuildValue("s",_ptemp
);
5766 #define wxWindow_GetAdjustedBestSize(_swigobj) (_swigobj->GetAdjustedBestSize())
5767 static PyObject
*_wrap_wxWindow_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAdjustedBestSize",_kwnames
,&_argo0
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAdjustedBestSize. Expected _wxWindow_p.");
5786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5787 _result
= new wxSize (wxWindow_GetAdjustedBestSize(_arg0
));
5789 wxPyEndAllowThreads(__tstate
);
5790 if (PyErr_Occurred()) return NULL
;
5791 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5792 _resultobj
= Py_BuildValue("s",_ptemp
);
5796 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5797 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5801 PyObject
* _argo0
= 0;
5802 PyObject
* _argo1
= 0;
5803 char *_kwnames
[] = { "self","caret", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5816 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxWindow_SetCaret(_arg0
,_arg1
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) return NULL
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5833 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5834 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5838 PyObject
* _argo0
= 0;
5839 char *_kwnames
[] = { "self", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) return NULL
;
5859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5860 _resultobj
= Py_BuildValue("s",_ptemp
);
5863 _resultobj
= Py_None
;
5868 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5869 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5872 PyObject
* _argo0
= 0;
5873 char *_kwnames
[] = { "self", NULL
};
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 wxWindow_Freeze(_arg0
);
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) return NULL
;
5891 } Py_INCREF(Py_None
);
5892 _resultobj
= Py_None
;
5896 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5897 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5900 PyObject
* _argo0
= 0;
5901 char *_kwnames
[] = { "self", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 wxWindow_Thaw(_arg0
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) return NULL
;
5919 } Py_INCREF(Py_None
);
5920 _resultobj
= Py_None
;
5924 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5925 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5928 PyObject
* _argo0
= 0;
5929 char *_kwnames
[] = { "self", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxWindow_Update(_arg0
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) return NULL
;
5947 } Py_INCREF(Py_None
);
5948 _resultobj
= Py_None
;
5952 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5953 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_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_GetHelpText. Expected _wxWindow_p.");
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) return NULL
;
5978 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
5980 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5989 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5990 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5994 PyObject
* _argo0
= 0;
5995 PyObject
* _obj1
= 0;
5996 char *_kwnames
[] = { "self","helpText", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
6009 _arg1
= wxString_in_helper(_obj1
);
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 wxWindow_SetHelpText(_arg0
,*_arg1
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) return NULL
;
6019 } Py_INCREF(Py_None
);
6020 _resultobj
= Py_None
;
6028 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
6029 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6033 PyObject
* _argo0
= 0;
6034 PyObject
* _obj1
= 0;
6035 char *_kwnames
[] = { "self","text", NULL
};
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
6041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
6048 _arg1
= wxString_in_helper(_obj1
);
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) return NULL
;
6058 } Py_INCREF(Py_None
);
6059 _resultobj
= Py_None
;
6067 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
6068 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self","lines", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) return NULL
;
6092 } _resultobj
= Py_BuildValue("i",_result
);
6096 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
6097 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6102 PyObject
* _argo0
= 0;
6103 char *_kwnames
[] = { "self","pages", NULL
};
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
6109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) return NULL
;
6121 } _resultobj
= Py_BuildValue("i",_result
);
6125 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
6126 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6130 PyObject
* _argo0
= 0;
6131 char *_kwnames
[] = { "self", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
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_LineUp. Expected _wxWindow_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= (bool )wxWindow_LineUp(_arg0
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } _resultobj
= Py_BuildValue("i",_result
);
6153 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
6154 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6158 PyObject
* _argo0
= 0;
6159 char *_kwnames
[] = { "self", NULL
};
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
6165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 _result
= (bool )wxWindow_LineDown(_arg0
);
6175 wxPyEndAllowThreads(__tstate
);
6176 if (PyErr_Occurred()) return NULL
;
6177 } _resultobj
= Py_BuildValue("i",_result
);
6181 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
6182 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
* _resultobj
;
6186 PyObject
* _argo0
= 0;
6187 char *_kwnames
[] = { "self", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
6193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 _result
= (bool )wxWindow_PageUp(_arg0
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) return NULL
;
6205 } _resultobj
= Py_BuildValue("i",_result
);
6209 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
6210 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
* _resultobj
;
6214 PyObject
* _argo0
= 0;
6215 char *_kwnames
[] = { "self", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 _result
= (bool )wxWindow_PageDown(_arg0
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6233 } _resultobj
= Py_BuildValue("i",_result
);
6237 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6240 char *_kwnames
[] = { NULL
};
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 _result
= (wxWindow
*)wxWindow::FindFocus();
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) return NULL
;
6251 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6255 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6258 char *_kwnames
[] = { NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 _result
= (int )wxWindow::NewControlId();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) return NULL
;
6269 } _resultobj
= Py_BuildValue("i",_result
);
6273 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6277 char *_kwnames
[] = { "id", NULL
};
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 _result
= (int )wxWindow::NextControlId(_arg0
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) return NULL
;
6288 } _resultobj
= Py_BuildValue("i",_result
);
6292 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
* _resultobj
;
6296 char *_kwnames
[] = { "id", NULL
};
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 _result
= (int )wxWindow::PrevControlId(_arg0
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) return NULL
;
6307 } _resultobj
= Py_BuildValue("i",_result
);
6311 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6312 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6315 wxAcceleratorTable
* _arg1
;
6316 PyObject
* _argo0
= 0;
6317 PyObject
* _argo1
= 0;
6318 char *_kwnames
[] = { "self","accel", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6331 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) return NULL
;
6342 } Py_INCREF(Py_None
);
6343 _resultobj
= Py_None
;
6347 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6348 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6350 wxAcceleratorTable
* _result
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6374 _resultobj
= Py_BuildValue("s",_ptemp
);
6377 _resultobj
= Py_None
;
6382 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
) {
6384 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
6389 static PyObject
*_wrap_wxWindow_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6396 PyObject
* _argo0
= 0;
6397 char *_kwnames
[] = { "self","hotkeyId","modifiers","keycode", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxWindow_RegisterHotKey",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RegisterHotKey. Expected _wxWindow_p.");
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 _result
= (bool )wxWindow_RegisterHotKey(_arg0
,_arg1
,_arg2
,_arg3
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) return NULL
;
6415 } _resultobj
= Py_BuildValue("i",_result
);
6419 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
) {
6421 return self
->UnregisterHotKey(hotkeyId
);
6426 static PyObject
*_wrap_wxWindow_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
* _resultobj
;
6431 PyObject
* _argo0
= 0;
6432 char *_kwnames
[] = { "self","hotkeyId", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_UnregisterHotKey",_kwnames
,&_argo0
,&_arg1
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnregisterHotKey. Expected _wxWindow_p.");
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 _result
= (bool )wxWindow_UnregisterHotKey(_arg0
,_arg1
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) return NULL
;
6450 } _resultobj
= Py_BuildValue("i",_result
);
6454 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6455 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
* _resultobj
;
6459 PyObject
* _argo0
= 0;
6460 char *_kwnames
[] = { "self", NULL
};
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) return NULL
;
6478 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6482 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6483 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6484 PyObject
* _resultobj
;
6488 PyObject
* _argo0
= 0;
6489 PyObject
* _argo1
= 0;
6490 char *_kwnames
[] = { "self","btn", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) return NULL
;
6515 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6519 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6520 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6524 PyObject
* _argo0
= 0;
6525 PyObject
* _argo1
= 0;
6526 char *_kwnames
[] = { "self","win", NULL
};
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) return NULL
;
6551 } Py_INCREF(Py_None
);
6552 _resultobj
= Py_None
;
6556 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6557 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self","x","y", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6581 } Py_INCREF(Py_None
);
6582 _resultobj
= Py_None
;
6586 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6587 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6590 PyObject
* _argo0
= 0;
6591 char *_kwnames
[] = { "self", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 wxWindow_CaptureMouse(_arg0
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) return NULL
;
6609 } Py_INCREF(Py_None
);
6610 _resultobj
= Py_None
;
6614 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6615 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6618 PyObject
* _argo0
= 0;
6619 char *_kwnames
[] = { "self", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
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_ReleaseMouse. Expected _wxWindow_p.");
6632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6633 wxWindow_ReleaseMouse(_arg0
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) return NULL
;
6637 } Py_INCREF(Py_None
);
6638 _resultobj
= Py_None
;
6642 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6645 char *_kwnames
[] = { NULL
};
6648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 _result
= (wxWindow
*)wxWindow::GetCapture();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) return NULL
;
6656 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6660 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6661 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6665 PyObject
* _argo0
= 0;
6666 char *_kwnames
[] = { "self", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 _result
= (bool )wxWindow_HasCapture(_arg0
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) return NULL
;
6684 } _resultobj
= Py_BuildValue("i",_result
);
6688 #define wxWindow_SetThemeEnabled(_swigobj,_swigarg0) (_swigobj->SetThemeEnabled(_swigarg0))
6689 static PyObject
*_wrap_wxWindow_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6693 PyObject
* _argo0
= 0;
6695 char *_kwnames
[] = { "self","enable", NULL
};
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetThemeEnabled",_kwnames
,&_argo0
,&tempbool1
))
6701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetThemeEnabled. Expected _wxWindow_p.");
6707 _arg1
= (bool ) tempbool1
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 wxWindow_SetThemeEnabled(_arg0
,_arg1
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) return NULL
;
6714 } Py_INCREF(Py_None
);
6715 _resultobj
= Py_None
;
6719 #define wxWindow_GetThemeEnabled(_swigobj) (_swigobj->GetThemeEnabled())
6720 static PyObject
*_wrap_wxWindow_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
* _resultobj
;
6724 PyObject
* _argo0
= 0;
6725 char *_kwnames
[] = { "self", NULL
};
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetThemeEnabled",_kwnames
,&_argo0
))
6731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetThemeEnabled. Expected _wxWindow_p.");
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 _result
= (bool )wxWindow_GetThemeEnabled(_arg0
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) return NULL
;
6743 } _resultobj
= Py_BuildValue("i",_result
);
6747 #define wxWindow_GetBorderFlags(_swigobj,_swigarg0) (_swigobj->GetBorder(_swigarg0))
6748 static PyObject
*_wrap_wxWindow_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6753 PyObject
* _argo0
= 0;
6754 char *_kwnames
[] = { "self","flags", NULL
};
6757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_GetBorderFlags",_kwnames
,&_argo0
,&_arg1
))
6760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorderFlags. Expected _wxWindow_p.");
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 _result
= (wxBorder
)wxWindow_GetBorderFlags(_arg0
,_arg1
);
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) return NULL
;
6772 } _resultobj
= Py_BuildValue("i",_result
);
6776 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
6777 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6804 static void *SwigwxPanelTowxWindow(void *ptr
) {
6807 src
= (wxPanel
*) ptr
;
6808 dest
= (wxWindow
*) src
;
6809 return (void *) dest
;
6812 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6815 src
= (wxPanel
*) ptr
;
6816 dest
= (wxEvtHandler
*) src
;
6817 return (void *) dest
;
6820 static void *SwigwxPanelTowxObject(void *ptr
) {
6823 src
= (wxPanel
*) ptr
;
6824 dest
= (wxObject
*) src
;
6825 return (void *) dest
;
6828 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6829 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
* _resultobj
;
6834 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6835 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6836 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6837 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6838 PyObject
* _argo0
= 0;
6840 PyObject
* _obj2
= 0;
6842 PyObject
* _obj3
= 0;
6843 PyObject
* _obj5
= 0;
6844 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6860 if (! wxPoint_helper(_obj2
, &_arg2
))
6866 if (! wxSize_helper(_obj3
, &_arg3
))
6871 _arg5
= wxString_in_helper(_obj5
);
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6883 _resultobj
= Py_BuildValue("s",_ptemp
);
6886 _resultobj
= Py_None
;
6895 #define new_wxPrePanel() (new wxPanel())
6896 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6899 char *_kwnames
[] = { NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6907 _result
= (wxPanel
*)new_wxPrePanel();
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) return NULL
;
6912 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6913 _resultobj
= Py_BuildValue("s",_ptemp
);
6916 _resultobj
= Py_None
;
6921 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6922 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6928 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6929 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6930 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6931 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6932 PyObject
* _argo0
= 0;
6933 PyObject
* _argo1
= 0;
6935 PyObject
* _obj3
= 0;
6937 PyObject
* _obj4
= 0;
6938 PyObject
* _obj6
= 0;
6939 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6961 if (! wxPoint_helper(_obj3
, &_arg3
))
6967 if (! wxSize_helper(_obj4
, &_arg4
))
6972 _arg6
= wxString_in_helper(_obj6
);
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) return NULL
;
6982 } _resultobj
= Py_BuildValue("i",_result
);
6990 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6991 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6994 PyObject
* _argo0
= 0;
6995 char *_kwnames
[] = { "self", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 wxPanel_InitDialog(_arg0
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) return NULL
;
7013 } Py_INCREF(Py_None
);
7014 _resultobj
= Py_None
;
7018 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
7019 wxScrolledWindow
*src
;
7021 src
= (wxScrolledWindow
*) ptr
;
7022 dest
= (wxPanel
*) src
;
7023 return (void *) dest
;
7026 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
7027 wxScrolledWindow
*src
;
7029 src
= (wxScrolledWindow
*) ptr
;
7030 dest
= (wxWindow
*) src
;
7031 return (void *) dest
;
7034 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
7035 wxScrolledWindow
*src
;
7037 src
= (wxScrolledWindow
*) ptr
;
7038 dest
= (wxEvtHandler
*) src
;
7039 return (void *) dest
;
7042 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
7043 wxScrolledWindow
*src
;
7045 src
= (wxScrolledWindow
*) ptr
;
7046 dest
= (wxObject
*) src
;
7047 return (void *) dest
;
7050 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7051 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
* _resultobj
;
7053 wxScrolledWindow
* _result
;
7055 wxWindowID _arg1
= (wxWindowID
) -1;
7056 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7057 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7058 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
7059 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
7060 PyObject
* _argo0
= 0;
7062 PyObject
* _obj2
= 0;
7064 PyObject
* _obj3
= 0;
7065 PyObject
* _obj5
= 0;
7066 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
7082 if (! wxPoint_helper(_obj2
, &_arg2
))
7088 if (! wxSize_helper(_obj3
, &_arg3
))
7093 _arg5
= wxString_in_helper(_obj5
);
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7105 _resultobj
= Py_BuildValue("s",_ptemp
);
7108 _resultobj
= Py_None
;
7117 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
7118 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7120 wxScrolledWindow
* _result
;
7121 char *_kwnames
[] = { NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) return NULL
;
7134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
7135 _resultobj
= Py_BuildValue("s",_ptemp
);
7138 _resultobj
= Py_None
;
7143 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7144 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
* _resultobj
;
7147 wxScrolledWindow
* _arg0
;
7149 wxWindowID _arg2
= (wxWindowID
) -1;
7150 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7151 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7152 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
7153 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
7154 PyObject
* _argo0
= 0;
7155 PyObject
* _argo1
= 0;
7157 PyObject
* _obj3
= 0;
7159 PyObject
* _obj4
= 0;
7160 PyObject
* _obj6
= 0;
7161 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
7167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
7174 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
7183 if (! wxPoint_helper(_obj3
, &_arg3
))
7189 if (! wxSize_helper(_obj4
, &_arg4
))
7194 _arg6
= wxString_in_helper(_obj6
);
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) return NULL
;
7204 } _resultobj
= Py_BuildValue("i",_result
);
7212 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
7213 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
* _resultobj
;
7215 wxScrolledWindow
* _arg0
;
7218 PyObject
* _argo0
= 0;
7221 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
7233 _arg1
= (bool ) tempbool1
;
7234 _arg2
= (bool ) tempbool2
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) return NULL
;
7241 } Py_INCREF(Py_None
);
7242 _resultobj
= Py_None
;
7246 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
7247 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7250 wxScrolledWindow
* _arg0
;
7252 PyObject
* _argo0
= 0;
7253 char *_kwnames
[] = { "self","orient", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } _resultobj
= Py_BuildValue("i",_result
);
7275 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
7276 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7278 wxScrolledWindow
* _arg0
;
7283 PyObject
* _argo0
= 0;
7284 char *_kwnames
[] = { "self", NULL
};
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
7296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7308 } Py_INCREF(Py_None
);
7309 _resultobj
= Py_None
;
7312 o
= PyInt_FromLong((long) (*_arg1
));
7313 _resultobj
= t_output_helper(_resultobj
, o
);
7317 o
= PyInt_FromLong((long) (*_arg2
));
7318 _resultobj
= t_output_helper(_resultobj
, o
);
7323 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
7324 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7327 wxScrolledWindow
* _arg0
;
7328 PyObject
* _argo0
= 0;
7329 char *_kwnames
[] = { "self", NULL
};
7332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
7335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) return NULL
;
7347 }{ _resultobj
= wxPyMake_wxObject(_result
); }
7351 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
7352 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
* _resultobj
;
7355 wxScrolledWindow
* _arg0
;
7356 PyObject
* _argo0
= 0;
7357 char *_kwnames
[] = { "self", NULL
};
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
7363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) return NULL
;
7375 } _resultobj
= Py_BuildValue("i",_result
);
7379 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
7380 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
* _resultobj
;
7382 wxScrolledWindow
* _arg0
;
7384 PyObject
* _argo0
= 0;
7385 PyObject
* _argo1
= 0;
7386 char *_kwnames
[] = { "self","dc", NULL
};
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
7392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
7399 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7415 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
7416 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7418 wxScrolledWindow
* _arg0
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self","x","y", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_Scroll. Expected _wxScrolledWindow_p.");
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) return NULL
;
7440 } Py_INCREF(Py_None
);
7441 _resultobj
= Py_None
;
7445 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7446 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7448 wxScrolledWindow
* _arg0
;
7453 int _arg5
= (int ) 0;
7454 int _arg6
= (int ) 0;
7455 int _arg7
= (int ) FALSE
;
7456 PyObject
* _argo0
= 0;
7457 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) return NULL
;
7475 } Py_INCREF(Py_None
);
7476 _resultobj
= Py_None
;
7480 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7481 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
* _resultobj
;
7483 wxScrolledWindow
* _arg0
;
7486 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) return NULL
;
7505 } Py_INCREF(Py_None
);
7506 _resultobj
= Py_None
;
7510 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7511 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7513 wxScrolledWindow
* _arg0
;
7515 PyObject
* _argo0
= 0;
7516 PyObject
* _argo1
= 0;
7517 char *_kwnames
[] = { "self","window", NULL
};
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7530 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7531 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) return NULL
;
7542 } Py_INCREF(Py_None
);
7543 _resultobj
= Py_None
;
7547 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7548 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
* _resultobj
;
7550 wxScrolledWindow
* _arg0
;
7555 PyObject
* _argo0
= 0;
7556 char *_kwnames
[] = { "self", NULL
};
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) return NULL
;
7580 } Py_INCREF(Py_None
);
7581 _resultobj
= Py_None
;
7584 o
= PyInt_FromLong((long) (*_arg1
));
7585 _resultobj
= t_output_helper(_resultobj
, o
);
7589 o
= PyInt_FromLong((long) (*_arg2
));
7590 _resultobj
= t_output_helper(_resultobj
, o
);
7595 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7596 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
* _resultobj
;
7599 wxScrolledWindow
* _arg0
;
7601 PyObject
* _argo0
= 0;
7603 PyObject
* _obj1
= 0;
7604 char *_kwnames
[] = { "self","pt", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7619 if (! wxPoint_helper(_obj1
, &_arg1
))
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) return NULL
;
7628 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7629 _resultobj
= Py_BuildValue("s",_ptemp
);
7633 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7634 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
* _resultobj
;
7636 wxScrolledWindow
* _arg0
;
7643 PyObject
* _argo0
= 0;
7644 char *_kwnames
[] = { "self","x","y", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } Py_INCREF(Py_None
);
7669 _resultobj
= Py_None
;
7672 o
= PyInt_FromLong((long) (*_arg3
));
7673 _resultobj
= t_output_helper(_resultobj
, o
);
7677 o
= PyInt_FromLong((long) (*_arg4
));
7678 _resultobj
= t_output_helper(_resultobj
, o
);
7683 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7684 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
* _resultobj
;
7687 wxScrolledWindow
* _arg0
;
7689 PyObject
* _argo0
= 0;
7691 PyObject
* _obj1
= 0;
7692 char *_kwnames
[] = { "self","pt", NULL
};
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7707 if (! wxPoint_helper(_obj1
, &_arg1
))
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) return NULL
;
7716 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7717 _resultobj
= Py_BuildValue("s",_ptemp
);
7721 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7722 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7723 PyObject
* _resultobj
;
7724 wxScrolledWindow
* _arg0
;
7731 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self","x","y", NULL
};
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) return NULL
;
7756 } Py_INCREF(Py_None
);
7757 _resultobj
= Py_None
;
7760 o
= PyInt_FromLong((long) (*_arg3
));
7761 _resultobj
= t_output_helper(_resultobj
, o
);
7765 o
= PyInt_FromLong((long) (*_arg4
));
7766 _resultobj
= t_output_helper(_resultobj
, o
);
7771 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7772 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
* _resultobj
;
7774 wxScrolledWindow
* _arg0
;
7777 PyObject
* _argo0
= 0;
7778 char *_kwnames
[] = { "self","xs","ys", NULL
};
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) return NULL
;
7796 } Py_INCREF(Py_None
);
7797 _resultobj
= Py_None
;
7801 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7802 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
* _resultobj
;
7805 wxScrolledWindow
* _arg0
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7821 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) return NULL
;
7825 } _resultobj
= Py_BuildValue("d",_result
);
7829 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7830 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
* _resultobj
;
7833 wxScrolledWindow
* _arg0
;
7834 PyObject
* _argo0
= 0;
7835 char *_kwnames
[] = { "self", NULL
};
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) return NULL
;
7853 } _resultobj
= Py_BuildValue("d",_result
);
7857 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7858 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
* _resultobj
;
7860 wxScrolledWindow
* _arg0
;
7861 PyObject
* _argo0
= 0;
7862 char *_kwnames
[] = { "self", NULL
};
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 wxScrolledWindow_AdjustScrollbars(_arg0
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) return NULL
;
7880 } Py_INCREF(Py_None
);
7881 _resultobj
= Py_None
;
7885 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7886 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxScrolledWindow
* _arg0
;
7890 PyObject
* _argo0
= 0;
7891 char *_kwnames
[] = { "self", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) return NULL
;
7909 } _resultobj
= Py_BuildValue("i",_result
);
7913 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7914 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7916 wxScrolledWindow
* _arg0
;
7919 PyObject
* _argo0
= 0;
7920 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) return NULL
;
7938 } Py_INCREF(Py_None
);
7939 _resultobj
= Py_None
;
7943 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7946 src
= (wxMenu
*) ptr
;
7947 dest
= (wxEvtHandler
*) src
;
7948 return (void *) dest
;
7951 static void *SwigwxMenuTowxObject(void *ptr
) {
7954 src
= (wxMenu
*) ptr
;
7955 dest
= (wxObject
*) src
;
7956 return (void *) dest
;
7959 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7960 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
* _resultobj
;
7963 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7964 long _arg1
= (long ) 0;
7965 PyObject
* _obj0
= 0;
7966 char *_kwnames
[] = { "title","style", NULL
};
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7974 _arg0
= wxString_in_helper(_obj0
);
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) return NULL
;
7985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7986 _resultobj
= Py_BuildValue("s",_ptemp
);
7989 _resultobj
= Py_None
;
7998 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7999 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8004 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8005 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8006 PyObject
* _argo0
= 0;
8007 PyObject
* _obj2
= 0;
8008 PyObject
* _obj3
= 0;
8009 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
8022 _arg2
= wxString_in_helper(_obj2
);
8028 _arg3
= wxString_in_helper(_obj3
);
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) return NULL
;
8038 } Py_INCREF(Py_None
);
8039 _resultobj
= Py_None
;
8051 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8052 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
* _resultobj
;
8058 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8059 PyObject
* _argo0
= 0;
8060 PyObject
* _obj2
= 0;
8061 PyObject
* _argo3
= 0;
8062 PyObject
* _obj4
= 0;
8063 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8076 _arg2
= wxString_in_helper(_obj2
);
8081 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
8089 _arg4
= wxString_in_helper(_obj4
);
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) return NULL
;
8099 } Py_INCREF(Py_None
);
8100 _resultobj
= Py_None
;
8112 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
8113 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
* _resultobj
;
8117 PyObject
* _argo0
= 0;
8118 PyObject
* _argo1
= 0;
8119 char *_kwnames
[] = { "self","item", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
8132 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8133 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 wxMenu_AppendItem(_arg0
,_arg1
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) return NULL
;
8144 } Py_INCREF(Py_None
);
8145 _resultobj
= Py_None
;
8149 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
8150 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
* _resultobj
;
8155 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8156 PyObject
* _argo0
= 0;
8157 PyObject
* _obj2
= 0;
8158 PyObject
* _obj3
= 0;
8159 char *_kwnames
[] = { "self","id","text","help", NULL
};
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
8172 _arg2
= wxString_in_helper(_obj2
);
8178 _arg3
= wxString_in_helper(_obj3
);
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) return NULL
;
8188 } Py_INCREF(Py_None
);
8189 _resultobj
= Py_None
;
8201 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
8202 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
* _resultobj
;
8207 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8208 PyObject
* _argo0
= 0;
8209 PyObject
* _obj2
= 0;
8210 PyObject
* _obj3
= 0;
8211 char *_kwnames
[] = { "self","id","text","help", NULL
};
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
8224 _arg2
= wxString_in_helper(_obj2
);
8230 _arg3
= wxString_in_helper(_obj3
);
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) return NULL
;
8240 } Py_INCREF(Py_None
);
8241 _resultobj
= Py_None
;
8253 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
8254 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
* _resultobj
;
8257 PyObject
* _argo0
= 0;
8258 char *_kwnames
[] = { "self", NULL
};
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
8264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 wxMenu_AppendSeparator(_arg0
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) return NULL
;
8276 } Py_INCREF(Py_None
);
8277 _resultobj
= Py_None
;
8281 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8282 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
* _resultobj
;
8288 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8289 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
8290 PyObject
* _argo0
= 0;
8291 PyObject
* _obj3
= 0;
8292 PyObject
* _obj4
= 0;
8293 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
8306 _arg3
= wxString_in_helper(_obj3
);
8312 _arg4
= wxString_in_helper(_obj4
);
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) return NULL
;
8322 } Py_INCREF(Py_None
);
8323 _resultobj
= Py_None
;
8335 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
8336 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
* _resultobj
;
8340 PyObject
* _argo0
= 0;
8341 char *_kwnames
[] = { "self","pos", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 wxMenu_InsertSeparator(_arg0
,_arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) return NULL
;
8359 } Py_INCREF(Py_None
);
8360 _resultobj
= Py_None
;
8364 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8365 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
* _resultobj
;
8371 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8372 PyObject
* _argo0
= 0;
8373 PyObject
* _obj3
= 0;
8374 PyObject
* _obj4
= 0;
8375 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
8388 _arg3
= wxString_in_helper(_obj3
);
8394 _arg4
= wxString_in_helper(_obj4
);
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) return NULL
;
8404 } Py_INCREF(Py_None
);
8405 _resultobj
= Py_None
;
8417 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8418 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
* _resultobj
;
8424 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8425 PyObject
* _argo0
= 0;
8426 PyObject
* _obj3
= 0;
8427 PyObject
* _obj4
= 0;
8428 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
8434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
8441 _arg3
= wxString_in_helper(_obj3
);
8447 _arg4
= wxString_in_helper(_obj4
);
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) return NULL
;
8457 } Py_INCREF(Py_None
);
8458 _resultobj
= Py_None
;
8470 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8471 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8478 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8479 PyObject
* _argo0
= 0;
8480 PyObject
* _obj3
= 0;
8481 PyObject
* _argo4
= 0;
8482 PyObject
* _obj5
= 0;
8483 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8496 _arg3
= wxString_in_helper(_obj3
);
8501 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8502 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8509 _arg5
= wxString_in_helper(_obj5
);
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) return NULL
;
8519 } Py_INCREF(Py_None
);
8520 _resultobj
= Py_None
;
8532 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8533 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
* _resultobj
;
8539 PyObject
* _argo0
= 0;
8540 PyObject
* _argo2
= 0;
8541 char *_kwnames
[] = { "self","pos","item", NULL
};
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8554 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) return NULL
;
8566 } _resultobj
= Py_BuildValue("i",_result
);
8570 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8571 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8576 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8577 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8578 PyObject
* _argo0
= 0;
8579 PyObject
* _obj2
= 0;
8580 PyObject
* _obj3
= 0;
8581 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8594 _arg2
= wxString_in_helper(_obj2
);
8600 _arg3
= wxString_in_helper(_obj3
);
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) return NULL
;
8610 } Py_INCREF(Py_None
);
8611 _resultobj
= Py_None
;
8623 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8624 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
* _resultobj
;
8627 PyObject
* _argo0
= 0;
8628 char *_kwnames
[] = { "self", NULL
};
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 wxMenu_PrependSeparator(_arg0
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) return NULL
;
8646 } Py_INCREF(Py_None
);
8647 _resultobj
= Py_None
;
8651 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8652 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
* _resultobj
;
8657 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8658 PyObject
* _argo0
= 0;
8659 PyObject
* _obj2
= 0;
8660 PyObject
* _obj3
= 0;
8661 char *_kwnames
[] = { "self","id","text","help", NULL
};
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8674 _arg2
= wxString_in_helper(_obj2
);
8680 _arg3
= wxString_in_helper(_obj3
);
8685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8686 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) return NULL
;
8690 } Py_INCREF(Py_None
);
8691 _resultobj
= Py_None
;
8703 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8704 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
* _resultobj
;
8709 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8710 PyObject
* _argo0
= 0;
8711 PyObject
* _obj2
= 0;
8712 PyObject
* _obj3
= 0;
8713 char *_kwnames
[] = { "self","id","text","help", NULL
};
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8726 _arg2
= wxString_in_helper(_obj2
);
8732 _arg3
= wxString_in_helper(_obj3
);
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) return NULL
;
8742 } Py_INCREF(Py_None
);
8743 _resultobj
= Py_None
;
8755 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8756 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
* _resultobj
;
8762 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8763 PyObject
* _argo0
= 0;
8764 PyObject
* _obj2
= 0;
8765 PyObject
* _argo3
= 0;
8766 PyObject
* _obj4
= 0;
8767 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8780 _arg2
= wxString_in_helper(_obj2
);
8785 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8786 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8793 _arg4
= wxString_in_helper(_obj4
);
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) return NULL
;
8803 } Py_INCREF(Py_None
);
8804 _resultobj
= Py_None
;
8816 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8817 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
* _resultobj
;
8821 PyObject
* _argo0
= 0;
8822 PyObject
* _argo1
= 0;
8823 char *_kwnames
[] = { "self","item", NULL
};
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 wxMenu_PrependItem(_arg0
,_arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) return NULL
;
8848 } Py_INCREF(Py_None
);
8849 _resultobj
= Py_None
;
8853 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8854 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
* _resultobj
;
8857 PyObject
* _argo0
= 0;
8858 char *_kwnames
[] = { "self", NULL
};
8861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 wxMenu_Break(_arg0
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) return NULL
;
8876 } Py_INCREF(Py_None
);
8877 _resultobj
= Py_None
;
8881 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8882 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8887 PyObject
* _argo0
= 0;
8889 char *_kwnames
[] = { "self","id","flag", NULL
};
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8901 _arg2
= (bool ) tempbool2
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) return NULL
;
8908 } Py_INCREF(Py_None
);
8909 _resultobj
= Py_None
;
8913 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8914 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
* _resultobj
;
8919 PyObject
* _argo0
= 0;
8920 char *_kwnames
[] = { "self","id", NULL
};
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) return NULL
;
8938 } _resultobj
= Py_BuildValue("i",_result
);
8942 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8943 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
* _resultobj
;
8948 PyObject
* _argo0
= 0;
8950 char *_kwnames
[] = { "self","id","enable", NULL
};
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8962 _arg2
= (bool ) tempbool2
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) return NULL
;
8969 } Py_INCREF(Py_None
);
8970 _resultobj
= Py_None
;
8974 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8975 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
* _resultobj
;
8980 PyObject
* _argo0
= 0;
8981 char *_kwnames
[] = { "self","id", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) return NULL
;
8999 } _resultobj
= Py_BuildValue("i",_result
);
9003 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9004 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
* _resultobj
;
9009 PyObject
* _argo0
= 0;
9010 PyObject
* _obj1
= 0;
9011 char *_kwnames
[] = { "self","itemString", NULL
};
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
9017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
9024 _arg1
= wxString_in_helper(_obj1
);
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) return NULL
;
9034 } _resultobj
= Py_BuildValue("i",_result
);
9042 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9043 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
* _resultobj
;
9045 wxMenuItem
* _result
;
9048 PyObject
* _argo0
= 0;
9049 char *_kwnames
[] = { "self","id", NULL
};
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) return NULL
;
9067 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9071 #define wxMenu_FindItemByPosition(_swigobj,_swigarg0) (_swigobj->FindItemByPosition(_swigarg0))
9072 static PyObject
*_wrap_wxMenu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
* _resultobj
;
9074 wxMenuItem
* _result
;
9077 PyObject
* _argo0
= 0;
9078 char *_kwnames
[] = { "self","position", NULL
};
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemByPosition",_kwnames
,&_argo0
,&_arg1
))
9084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemByPosition. Expected _wxMenu_p.");
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 _result
= (wxMenuItem
*)wxMenu_FindItemByPosition(_arg0
,_arg1
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) return NULL
;
9096 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9100 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
9101 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
* _resultobj
;
9105 PyObject
* _argo0
= 0;
9106 char *_kwnames
[] = { "self", NULL
};
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
9112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 _result
= new wxString (wxMenu_GetTitle(_arg0
));
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) return NULL
;
9126 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9128 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9137 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
9138 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
* _resultobj
;
9142 PyObject
* _argo0
= 0;
9143 PyObject
* _obj1
= 0;
9144 char *_kwnames
[] = { "self","title", NULL
};
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
9150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
9157 _arg1
= wxString_in_helper(_obj1
);
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 wxMenu_SetTitle(_arg0
,*_arg1
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) return NULL
;
9167 } Py_INCREF(Py_None
);
9168 _resultobj
= Py_None
;
9176 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9177 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
* _resultobj
;
9182 PyObject
* _argo0
= 0;
9183 char *_kwnames
[] = { "self","id", NULL
};
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) return NULL
;
9203 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9205 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9214 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9215 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9220 PyObject
* _argo0
= 0;
9221 PyObject
* _obj2
= 0;
9222 char *_kwnames
[] = { "self","id","label", NULL
};
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
9235 _arg2
= wxString_in_helper(_obj2
);
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) return NULL
;
9245 } Py_INCREF(Py_None
);
9246 _resultobj
= Py_None
;
9254 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9255 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
* _resultobj
;
9260 PyObject
* _argo0
= 0;
9261 char *_kwnames
[] = { "self","id", NULL
};
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) return NULL
;
9281 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9283 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9292 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9293 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
* _resultobj
;
9298 PyObject
* _argo0
= 0;
9299 PyObject
* _obj2
= 0;
9300 char *_kwnames
[] = { "self","id","helpString", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
9313 _arg2
= wxString_in_helper(_obj2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) return NULL
;
9323 } Py_INCREF(Py_None
);
9324 _resultobj
= Py_None
;
9332 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
9333 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
* _resultobj
;
9336 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
9337 PyObject
* _argo0
= 0;
9338 PyObject
* _argo1
= 0;
9339 char *_kwnames
[] = { "self","source", NULL
};
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
9345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
9352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 wxMenu_UpdateUI(_arg0
,_arg1
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) return NULL
;
9364 } Py_INCREF(Py_None
);
9365 _resultobj
= Py_None
;
9369 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9370 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
* _resultobj
;
9375 PyObject
* _argo0
= 0;
9376 char *_kwnames
[] = { "self","id", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
9382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) return NULL
;
9394 } _resultobj
= Py_BuildValue("i",_result
);
9398 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
9399 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
* _resultobj
;
9404 PyObject
* _argo0
= 0;
9405 PyObject
* _argo1
= 0;
9406 char *_kwnames
[] = { "self","item", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
9419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9431 } _resultobj
= Py_BuildValue("i",_result
);
9435 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9436 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
* _resultobj
;
9438 wxMenuItem
* _result
;
9441 PyObject
* _argo0
= 0;
9442 char *_kwnames
[] = { "self","id", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) return NULL
;
9460 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9464 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9465 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
* _resultobj
;
9467 wxMenuItem
* _result
;
9470 PyObject
* _argo0
= 0;
9471 PyObject
* _argo1
= 0;
9472 char *_kwnames
[] = { "self","item", NULL
};
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
9478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
9485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9497 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9501 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
9502 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
* _resultobj
;
9505 PyObject
* _argo0
= 0;
9506 char *_kwnames
[] = { "self", NULL
};
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 wxMenu_Destroy(_arg0
);
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) return NULL
;
9524 } Py_INCREF(Py_None
);
9525 _resultobj
= Py_None
;
9529 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9530 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
* _resultobj
;
9535 PyObject
* _argo0
= 0;
9536 char *_kwnames
[] = { "self","id", NULL
};
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) return NULL
;
9554 } _resultobj
= Py_BuildValue("i",_result
);
9558 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9559 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
* _resultobj
;
9564 PyObject
* _argo0
= 0;
9565 PyObject
* _argo1
= 0;
9566 char *_kwnames
[] = { "self","item", NULL
};
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9579 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9580 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) return NULL
;
9591 } _resultobj
= Py_BuildValue("i",_result
);
9595 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9596 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
* _resultobj
;
9600 PyObject
* _argo0
= 0;
9601 char *_kwnames
[] = { "self", NULL
};
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) return NULL
;
9619 } _resultobj
= Py_BuildValue("i",_result
);
9623 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9624 wxMenuItemList
& list
= self
->GetMenuItems();
9625 return wxPy_ConvertList(&list
, "wxMenuItem");
9627 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
* _resultobj
;
9631 PyObject
* _argo0
= 0;
9632 char *_kwnames
[] = { "self", NULL
};
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) return NULL
;
9651 _resultobj
= _result
;
9656 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9657 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9660 wxEvtHandler
* _arg1
;
9661 PyObject
* _argo0
= 0;
9662 PyObject
* _argo1
= 0;
9663 char *_kwnames
[] = { "self","handler", NULL
};
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 wxMenu_SetEventHandler(_arg0
,_arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) return NULL
;
9688 } Py_INCREF(Py_None
);
9689 _resultobj
= Py_None
;
9693 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9694 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
* _resultobj
;
9696 wxEvtHandler
* _result
;
9698 PyObject
* _argo0
= 0;
9699 char *_kwnames
[] = { "self", NULL
};
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) return NULL
;
9717 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9721 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9722 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
* _resultobj
;
9726 PyObject
* _argo0
= 0;
9727 PyObject
* _argo1
= 0;
9728 char *_kwnames
[] = { "self","win", NULL
};
9731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9741 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9742 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) return NULL
;
9753 } Py_INCREF(Py_None
);
9754 _resultobj
= Py_None
;
9758 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9759 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
* _resultobj
;
9763 PyObject
* _argo0
= 0;
9764 char *_kwnames
[] = { "self", NULL
};
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) return NULL
;
9782 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9786 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9787 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
* _resultobj
;
9791 PyObject
* _argo0
= 0;
9792 char *_kwnames
[] = { "self", NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_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_GetStyle. Expected _wxMenu_p.");
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 _result
= (long )wxMenu_GetStyle(_arg0
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) return NULL
;
9810 } _resultobj
= Py_BuildValue("l",_result
);
9814 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9815 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9819 PyObject
* _argo0
= 0;
9820 char *_kwnames
[] = { "self", NULL
};
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= (bool )wxMenu_IsAttached(_arg0
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } _resultobj
= Py_BuildValue("i",_result
);
9842 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9843 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
* _resultobj
;
9847 PyObject
* _argo0
= 0;
9848 PyObject
* _argo1
= 0;
9849 char *_kwnames
[] = { "self","parent", NULL
};
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 wxMenu_SetParent(_arg0
,_arg1
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) return NULL
;
9874 } Py_INCREF(Py_None
);
9875 _resultobj
= Py_None
;
9879 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9880 static PyObject
*_wrap_wxMenu_GetParent(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_GetParent",_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_GetParent. Expected _wxMenu_p.");
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) return NULL
;
9903 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9907 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9910 src
= (wxMenuBar
*) ptr
;
9911 dest
= (wxWindow
*) src
;
9912 return (void *) dest
;
9915 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9918 src
= (wxMenuBar
*) ptr
;
9919 dest
= (wxEvtHandler
*) src
;
9920 return (void *) dest
;
9923 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9926 src
= (wxMenuBar
*) ptr
;
9927 dest
= (wxObject
*) src
;
9928 return (void *) dest
;
9931 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9932 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9934 wxMenuBar
* _result
;
9935 long _arg0
= (long ) 0;
9936 char *_kwnames
[] = { "style", NULL
};
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9946 wxPyEndAllowThreads(__tstate
);
9947 if (PyErr_Occurred()) return NULL
;
9949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9950 _resultobj
= Py_BuildValue("s",_ptemp
);
9953 _resultobj
= Py_None
;
9958 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9959 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
* _resultobj
;
9965 PyObject
* _argo0
= 0;
9966 PyObject
* _argo1
= 0;
9967 PyObject
* _obj2
= 0;
9968 char *_kwnames
[] = { "self","menu","title", NULL
};
9971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9988 _arg2
= wxString_in_helper(_obj2
);
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) return NULL
;
9998 } _resultobj
= Py_BuildValue("i",_result
);
10006 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
10007 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
* _resultobj
;
10014 PyObject
* _argo0
= 0;
10015 PyObject
* _argo2
= 0;
10016 PyObject
* _obj3
= 0;
10017 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
10023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
10030 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10031 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
10032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
10037 _arg3
= wxString_in_helper(_obj3
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) return NULL
;
10047 } _resultobj
= Py_BuildValue("i",_result
);
10055 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
10056 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
* _resultobj
;
10060 PyObject
* _argo0
= 0;
10061 char *_kwnames
[] = { "self", NULL
};
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
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_GetMenuCount. Expected _wxMenuBar_p.");
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) return NULL
;
10079 } _resultobj
= Py_BuildValue("i",_result
);
10083 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
10084 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
* _resultobj
;
10089 PyObject
* _argo0
= 0;
10090 char *_kwnames
[] = { "self","pos", NULL
};
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
10096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) return NULL
;
10108 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10112 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
10113 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
* _resultobj
;
10120 PyObject
* _argo0
= 0;
10121 PyObject
* _argo2
= 0;
10122 PyObject
* _obj3
= 0;
10123 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
10129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
10136 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10137 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
10138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
10143 _arg3
= wxString_in_helper(_obj3
);
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) return NULL
;
10153 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10161 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
10162 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
* _resultobj
;
10167 PyObject
* _argo0
= 0;
10168 char *_kwnames
[] = { "self","pos", NULL
};
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
10174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) return NULL
;
10186 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10190 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
10191 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
* _resultobj
;
10196 PyObject
* _argo0
= 0;
10198 char *_kwnames
[] = { "self","pos","enable", NULL
};
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
10210 _arg2
= (bool ) tempbool2
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) return NULL
;
10217 } Py_INCREF(Py_None
);
10218 _resultobj
= Py_None
;
10222 #define wxMenuBar_IsEnabledTop(_swigobj,_swigarg0) (_swigobj->IsEnabledTop(_swigarg0))
10223 static PyObject
*_wrap_wxMenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
* _resultobj
;
10228 PyObject
* _argo0
= 0;
10229 char *_kwnames
[] = { "self","pos", NULL
};
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabledTop",_kwnames
,&_argo0
,&_arg1
))
10235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabledTop. Expected _wxMenuBar_p.");
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 _result
= (bool )wxMenuBar_IsEnabledTop(_arg0
,_arg1
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) return NULL
;
10247 } _resultobj
= Py_BuildValue("i",_result
);
10251 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
10252 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
* _resultobj
;
10257 PyObject
* _argo0
= 0;
10258 PyObject
* _obj2
= 0;
10259 char *_kwnames
[] = { "self","pos","label", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
10272 _arg2
= wxString_in_helper(_obj2
);
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) return NULL
;
10282 } Py_INCREF(Py_None
);
10283 _resultobj
= Py_None
;
10291 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
10292 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
* _resultobj
;
10294 wxString
* _result
;
10297 PyObject
* _argo0
= 0;
10298 char *_kwnames
[] = { "self","pos", NULL
};
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
10304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) return NULL
;
10318 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10320 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10329 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
10330 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
* _resultobj
;
10335 PyObject
* _argo0
= 0;
10336 PyObject
* _obj1
= 0;
10337 char *_kwnames
[] = { "self","title", NULL
};
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
10343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
10350 _arg1
= wxString_in_helper(_obj1
);
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) return NULL
;
10360 } _resultobj
= Py_BuildValue("i",_result
);
10368 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
10369 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
* _resultobj
;
10375 PyObject
* _argo0
= 0;
10376 PyObject
* _obj1
= 0;
10377 PyObject
* _obj2
= 0;
10378 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
10391 _arg1
= wxString_in_helper(_obj1
);
10396 _arg2
= wxString_in_helper(_obj2
);
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) return NULL
;
10406 } _resultobj
= Py_BuildValue("i",_result
);
10418 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
10419 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
* _resultobj
;
10421 wxMenuItem
* _result
;
10424 PyObject
* _argo0
= 0;
10425 char *_kwnames
[] = { "self","id", NULL
};
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
10431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) return NULL
;
10443 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10447 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10448 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
* _resultobj
;
10453 PyObject
* _argo0
= 0;
10455 char *_kwnames
[] = { "self","id","enable", NULL
};
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
10467 _arg2
= (bool ) tempbool2
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) return NULL
;
10474 } Py_INCREF(Py_None
);
10475 _resultobj
= Py_None
;
10479 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
10480 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
* _resultobj
;
10485 PyObject
* _argo0
= 0;
10487 char *_kwnames
[] = { "self","id","check", NULL
};
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
10499 _arg2
= (bool ) tempbool2
;
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) return NULL
;
10506 } Py_INCREF(Py_None
);
10507 _resultobj
= Py_None
;
10511 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
10512 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
* _resultobj
;
10517 PyObject
* _argo0
= 0;
10518 char *_kwnames
[] = { "self","id", NULL
};
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_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_IsChecked. Expected _wxMenuBar_p.");
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) return NULL
;
10536 } _resultobj
= Py_BuildValue("i",_result
);
10540 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10541 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
* _resultobj
;
10546 PyObject
* _argo0
= 0;
10547 char *_kwnames
[] = { "self","id", NULL
};
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10565 } _resultobj
= Py_BuildValue("i",_result
);
10569 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10570 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
* _resultobj
;
10575 PyObject
* _argo0
= 0;
10576 PyObject
* _obj2
= 0;
10577 char *_kwnames
[] = { "self","id","label", NULL
};
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10590 _arg2
= wxString_in_helper(_obj2
);
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) return NULL
;
10600 } Py_INCREF(Py_None
);
10601 _resultobj
= Py_None
;
10609 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10610 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
* _resultobj
;
10612 wxString
* _result
;
10615 PyObject
* _argo0
= 0;
10616 char *_kwnames
[] = { "self","id", NULL
};
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) return NULL
;
10636 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10638 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10647 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10648 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
* _resultobj
;
10653 PyObject
* _argo0
= 0;
10654 PyObject
* _obj2
= 0;
10655 char *_kwnames
[] = { "self","id","helpString", NULL
};
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10668 _arg2
= wxString_in_helper(_obj2
);
10673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10674 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) return NULL
;
10678 } Py_INCREF(Py_None
);
10679 _resultobj
= Py_None
;
10687 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10688 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10690 wxString
* _result
;
10693 PyObject
* _argo0
= 0;
10694 char *_kwnames
[] = { "self","id", NULL
};
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) return NULL
;
10714 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10716 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10725 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10728 src
= (wxMenuItem
*) ptr
;
10729 dest
= (wxObject
*) src
;
10730 return (void *) dest
;
10733 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10734 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
* _resultobj
;
10736 wxMenuItem
* _result
;
10737 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10738 int _arg1
= (int ) wxID_SEPARATOR
;
10739 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10740 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10741 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10742 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10743 PyObject
* _argo0
= 0;
10744 PyObject
* _obj2
= 0;
10745 PyObject
* _obj3
= 0;
10746 PyObject
* _argo5
= 0;
10747 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10762 _arg2
= wxString_in_helper(_obj2
);
10768 _arg3
= wxString_in_helper(_obj3
);
10773 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10774 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) return NULL
;
10786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10787 _resultobj
= Py_BuildValue("s",_ptemp
);
10789 Py_INCREF(Py_None
);
10790 _resultobj
= Py_None
;
10803 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10804 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
* _resultobj
;
10807 wxMenuItem
* _arg0
;
10808 PyObject
* _argo0
= 0;
10809 char *_kwnames
[] = { "self", NULL
};
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) return NULL
;
10827 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10831 #define wxMenuItem_SetMenu(_swigobj,_swigarg0) (_swigobj->SetMenu(_swigarg0))
10832 static PyObject
*_wrap_wxMenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
* _resultobj
;
10834 wxMenuItem
* _arg0
;
10836 PyObject
* _argo0
= 0;
10837 PyObject
* _argo1
= 0;
10838 char *_kwnames
[] = { "self","menu", NULL
};
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetMenu",_kwnames
,&_argo0
,&_argo1
))
10844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetMenu. Expected _wxMenuItem_p.");
10851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetMenu. Expected _wxMenu_p.");
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxMenuItem_SetMenu(_arg0
,_arg1
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) return NULL
;
10863 } Py_INCREF(Py_None
);
10864 _resultobj
= Py_None
;
10868 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10869 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10871 wxMenuItem
* _arg0
;
10873 PyObject
* _argo0
= 0;
10874 char *_kwnames
[] = { "self","id", NULL
};
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 wxMenuItem_SetId(_arg0
,_arg1
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) return NULL
;
10892 } Py_INCREF(Py_None
);
10893 _resultobj
= Py_None
;
10897 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10898 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10901 wxMenuItem
* _arg0
;
10902 PyObject
* _argo0
= 0;
10903 char *_kwnames
[] = { "self", NULL
};
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 _result
= (int )wxMenuItem_GetId(_arg0
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) return NULL
;
10921 } _resultobj
= Py_BuildValue("i",_result
);
10925 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10926 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
* _resultobj
;
10929 wxMenuItem
* _arg0
;
10930 PyObject
* _argo0
= 0;
10931 char *_kwnames
[] = { "self", NULL
};
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
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_IsSeparator. Expected _wxMenuItem_p.");
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) return NULL
;
10949 } _resultobj
= Py_BuildValue("i",_result
);
10953 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10954 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
* _resultobj
;
10956 wxMenuItem
* _arg0
;
10958 PyObject
* _argo0
= 0;
10959 PyObject
* _obj1
= 0;
10960 char *_kwnames
[] = { "self","str", NULL
};
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10973 _arg1
= wxString_in_helper(_obj1
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 wxMenuItem_SetText(_arg0
,*_arg1
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) return NULL
;
10983 } Py_INCREF(Py_None
);
10984 _resultobj
= Py_None
;
10992 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10993 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10994 PyObject
* _resultobj
;
10995 wxString
* _result
;
10996 wxMenuItem
* _arg0
;
10997 PyObject
* _argo0
= 0;
10998 char *_kwnames
[] = { "self", NULL
};
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
11004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) return NULL
;
11018 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11020 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11029 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
11030 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
* _resultobj
;
11032 wxString
* _result
;
11033 wxMenuItem
* _arg0
;
11034 PyObject
* _argo0
= 0;
11035 char *_kwnames
[] = { "self", NULL
};
11038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
11041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
11050 _result
= (wxString
*) &_result_ref
;
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) return NULL
;
11056 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11058 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11064 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
11065 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
* _resultobj
;
11067 wxItemKind _result
;
11068 wxMenuItem
* _arg0
;
11069 PyObject
* _argo0
= 0;
11070 char *_kwnames
[] = { "self", NULL
};
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
11076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) return NULL
;
11088 } _resultobj
= Py_BuildValue("i",_result
);
11092 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
11093 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
* _resultobj
;
11095 wxMenuItem
* _arg0
;
11097 PyObject
* _argo0
= 0;
11099 char *_kwnames
[] = { "self","checkable", NULL
};
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
11105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
11111 _arg1
= (bool ) tempbool1
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 wxMenuItem_SetCheckable(_arg0
,_arg1
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) return NULL
;
11118 } Py_INCREF(Py_None
);
11119 _resultobj
= Py_None
;
11123 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
11124 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
* _resultobj
;
11127 wxMenuItem
* _arg0
;
11128 PyObject
* _argo0
= 0;
11129 char *_kwnames
[] = { "self", NULL
};
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
11135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) return NULL
;
11147 } _resultobj
= Py_BuildValue("i",_result
);
11151 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
11152 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
* _resultobj
;
11155 wxMenuItem
* _arg0
;
11156 PyObject
* _argo0
= 0;
11157 char *_kwnames
[] = { "self", NULL
};
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
11163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) return NULL
;
11175 } _resultobj
= Py_BuildValue("i",_result
);
11179 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
11180 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
* _resultobj
;
11182 wxMenuItem
* _arg0
;
11184 PyObject
* _argo0
= 0;
11185 PyObject
* _argo1
= 0;
11186 char *_kwnames
[] = { "self","menu", NULL
};
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
11192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
11199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
11201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) return NULL
;
11211 } Py_INCREF(Py_None
);
11212 _resultobj
= Py_None
;
11216 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
11217 static PyObject
*_wrap_wxMenuItem_GetSubMenu(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_GetSubMenu",_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_GetSubMenu. Expected _wxMenuItem_p.");
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) return NULL
;
11240 }{ _resultobj
= wxPyMake_wxObject(_result
); }
11244 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
11245 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
* _resultobj
;
11247 wxMenuItem
* _arg0
;
11248 bool _arg1
= (bool ) TRUE
;
11249 PyObject
* _argo0
= 0;
11250 int tempbool1
= (int) TRUE
;
11251 char *_kwnames
[] = { "self","enable", NULL
};
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
11257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
11263 _arg1
= (bool ) tempbool1
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 wxMenuItem_Enable(_arg0
,_arg1
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) return NULL
;
11270 } Py_INCREF(Py_None
);
11271 _resultobj
= Py_None
;
11275 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
11276 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
* _resultobj
;
11279 wxMenuItem
* _arg0
;
11280 PyObject
* _argo0
= 0;
11281 char *_kwnames
[] = { "self", NULL
};
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
11287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) return NULL
;
11299 } _resultobj
= Py_BuildValue("i",_result
);
11303 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
11304 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
* _resultobj
;
11306 wxMenuItem
* _arg0
;
11307 bool _arg1
= (bool ) TRUE
;
11308 PyObject
* _argo0
= 0;
11309 int tempbool1
= (int) TRUE
;
11310 char *_kwnames
[] = { "self","check", NULL
};
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
11316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
11322 _arg1
= (bool ) tempbool1
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 wxMenuItem_Check(_arg0
,_arg1
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) return NULL
;
11329 } Py_INCREF(Py_None
);
11330 _resultobj
= Py_None
;
11334 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
11335 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
* _resultobj
;
11338 wxMenuItem
* _arg0
;
11339 PyObject
* _argo0
= 0;
11340 char *_kwnames
[] = { "self", NULL
};
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
11346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
11356 wxPyEndAllowThreads(__tstate
);
11357 if (PyErr_Occurred()) return NULL
;
11358 } _resultobj
= Py_BuildValue("i",_result
);
11362 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
11363 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
* _resultobj
;
11365 wxMenuItem
* _arg0
;
11366 PyObject
* _argo0
= 0;
11367 char *_kwnames
[] = { "self", NULL
};
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
11373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 wxMenuItem_Toggle(_arg0
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) return NULL
;
11385 } Py_INCREF(Py_None
);
11386 _resultobj
= Py_None
;
11390 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
11391 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
* _resultobj
;
11393 wxMenuItem
* _arg0
;
11395 PyObject
* _argo0
= 0;
11396 PyObject
* _obj1
= 0;
11397 char *_kwnames
[] = { "self","str", NULL
};
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
11403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
11410 _arg1
= wxString_in_helper(_obj1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 wxMenuItem_SetHelp(_arg0
,*_arg1
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) return NULL
;
11420 } Py_INCREF(Py_None
);
11421 _resultobj
= Py_None
;
11429 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
11430 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
* _resultobj
;
11432 wxString
* _result
;
11433 wxMenuItem
* _arg0
;
11434 PyObject
* _argo0
= 0;
11435 char *_kwnames
[] = { "self", NULL
};
11438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
11441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
11450 _result
= (wxString
*) &_result_ref
;
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) return NULL
;
11456 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11458 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11464 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
11465 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
* _resultobj
;
11467 wxAcceleratorEntry
* _result
;
11468 wxMenuItem
* _arg0
;
11469 PyObject
* _argo0
= 0;
11470 char *_kwnames
[] = { "self", NULL
};
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
11477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) return NULL
;
11490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
11491 _resultobj
= Py_BuildValue("s",_ptemp
);
11493 Py_INCREF(Py_None
);
11494 _resultobj
= Py_None
;
11499 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
11500 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
* _resultobj
;
11502 wxMenuItem
* _arg0
;
11503 wxAcceleratorEntry
* _arg1
;
11504 PyObject
* _argo0
= 0;
11505 PyObject
* _argo1
= 0;
11506 char *_kwnames
[] = { "self","accel", NULL
};
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
11512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
11519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
11521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 wxMenuItem_SetAccel(_arg0
,_arg1
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) return NULL
;
11531 } Py_INCREF(Py_None
);
11532 _resultobj
= Py_None
;
11536 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
* _resultobj
;
11538 wxString
* _result
;
11540 PyObject
* _obj0
= 0;
11541 char *_kwnames
[] = { "text", NULL
};
11544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
11547 _arg0
= wxString_in_helper(_obj0
);
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) return NULL
;
11559 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
11561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11574 #define wxMenuItem_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
11575 static PyObject
*_wrap_wxMenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
* _resultobj
;
11577 wxMenuItem
* _arg0
;
11579 PyObject
* _argo0
= 0;
11580 PyObject
* _argo1
= 0;
11581 char *_kwnames
[] = { "self","bitmap", NULL
};
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
11587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetBitmap. Expected _wxMenuItem_p.");
11594 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
11595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetBitmap. Expected _wxBitmap_p.");
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 wxMenuItem_SetBitmap(_arg0
,*_arg1
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) return NULL
;
11605 } Py_INCREF(Py_None
);
11606 _resultobj
= Py_None
;
11610 #define wxMenuItem_GetBitmap(_swigobj) (_swigobj->GetBitmap())
11611 static PyObject
*_wrap_wxMenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
* _resultobj
;
11613 wxBitmap
* _result
;
11614 wxMenuItem
* _arg0
;
11615 PyObject
* _argo0
= 0;
11616 char *_kwnames
[] = { "self", NULL
};
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetBitmap",_kwnames
,&_argo0
))
11623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
11625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetBitmap. Expected _wxMenuItem_p.");
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 const wxBitmap
& _result_ref
= wxMenuItem_GetBitmap(_arg0
);
11632 _result
= (wxBitmap
*) &_result_ref
;
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) return NULL
;
11637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
11638 _resultobj
= Py_BuildValue("s",_ptemp
);
11640 Py_INCREF(Py_None
);
11641 _resultobj
= Py_None
;
11646 static PyMethodDef windowscMethods
[] = {
11647 { "wxMenuItem_GetBitmap", (PyCFunction
) _wrap_wxMenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxMenuItem_SetBitmap", (PyCFunction
) _wrap_wxMenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxMenuItem_SetMenu", (PyCFunction
) _wrap_wxMenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxMenuBar_IsEnabledTop", (PyCFunction
) _wrap_wxMenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxMenu_FindItemByPosition", (PyCFunction
) _wrap_wxMenu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxWindow_GetBorderFlags", (PyCFunction
) _wrap_wxWindow_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxWindow_GetThemeEnabled", (PyCFunction
) _wrap_wxWindow_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxWindow_SetThemeEnabled", (PyCFunction
) _wrap_wxWindow_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "wxWindow_UnregisterHotKey", (PyCFunction
) _wrap_wxWindow_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxWindow_RegisterHotKey", (PyCFunction
) _wrap_wxWindow_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxWindow_GetAdjustedBestSize", (PyCFunction
) _wrap_wxWindow_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxWindow_GetCursor", (PyCFunction
) _wrap_wxWindow_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxWindow_GetBestVirtualSize", (PyCFunction
) _wrap_wxWindow_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxWindow_AddChild", (PyCFunction
) _wrap_wxWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "wxWindow_FitInside", (PyCFunction
) _wrap_wxWindow_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxWindow_Disable", (PyCFunction
) _wrap_wxWindow_Disable
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxFindWindowById", (PyCFunction
) _wrap_wxFindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11982 * This table is used by the pointer type-checker
11984 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11985 { "_signed_long","_long",0},
11986 { "_wxPrintQuality","_wxCoord",0},
11987 { "_wxPrintQuality","_int",0},
11988 { "_wxPrintQuality","_signed_int",0},
11989 { "_wxPrintQuality","_unsigned_int",0},
11990 { "_wxPrintQuality","_wxWindowID",0},
11991 { "_wxPrintQuality","_uint",0},
11992 { "_wxPrintQuality","_EBool",0},
11993 { "_wxPrintQuality","_size_t",0},
11994 { "_wxPrintQuality","_time_t",0},
11995 { "_byte","_unsigned_char",0},
11996 { "_long","_unsigned_long",0},
11997 { "_long","_signed_long",0},
11998 { "_size_t","_wxCoord",0},
11999 { "_size_t","_wxPrintQuality",0},
12000 { "_size_t","_time_t",0},
12001 { "_size_t","_unsigned_int",0},
12002 { "_size_t","_int",0},
12003 { "_size_t","_wxWindowID",0},
12004 { "_size_t","_uint",0},
12005 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
12006 { "_uint","_wxCoord",0},
12007 { "_uint","_wxPrintQuality",0},
12008 { "_uint","_time_t",0},
12009 { "_uint","_size_t",0},
12010 { "_uint","_unsigned_int",0},
12011 { "_uint","_int",0},
12012 { "_uint","_wxWindowID",0},
12013 { "_wxChar","_char",0},
12014 { "_char","_wxChar",0},
12015 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12016 { "_EBool","_wxCoord",0},
12017 { "_EBool","_wxPrintQuality",0},
12018 { "_EBool","_signed_int",0},
12019 { "_EBool","_int",0},
12020 { "_EBool","_wxWindowID",0},
12021 { "_unsigned_long","_long",0},
12022 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12023 { "_signed_int","_wxCoord",0},
12024 { "_signed_int","_wxPrintQuality",0},
12025 { "_signed_int","_EBool",0},
12026 { "_signed_int","_wxWindowID",0},
12027 { "_signed_int","_int",0},
12028 { "_WXTYPE","_short",0},
12029 { "_WXTYPE","_signed_short",0},
12030 { "_WXTYPE","_unsigned_short",0},
12031 { "_unsigned_short","_WXTYPE",0},
12032 { "_unsigned_short","_short",0},
12033 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
12034 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
12035 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
12036 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
12037 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
12038 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
12039 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
12040 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
12041 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
12042 { "_signed_short","_WXTYPE",0},
12043 { "_signed_short","_short",0},
12044 { "_unsigned_char","_byte",0},
12045 { "_unsigned_int","_wxCoord",0},
12046 { "_unsigned_int","_wxPrintQuality",0},
12047 { "_unsigned_int","_time_t",0},
12048 { "_unsigned_int","_size_t",0},
12049 { "_unsigned_int","_uint",0},
12050 { "_unsigned_int","_wxWindowID",0},
12051 { "_unsigned_int","_int",0},
12052 { "_short","_WXTYPE",0},
12053 { "_short","_unsigned_short",0},
12054 { "_short","_signed_short",0},
12055 { "_wxWindowID","_wxCoord",0},
12056 { "_wxWindowID","_wxPrintQuality",0},
12057 { "_wxWindowID","_time_t",0},
12058 { "_wxWindowID","_size_t",0},
12059 { "_wxWindowID","_EBool",0},
12060 { "_wxWindowID","_uint",0},
12061 { "_wxWindowID","_int",0},
12062 { "_wxWindowID","_signed_int",0},
12063 { "_wxWindowID","_unsigned_int",0},
12064 { "_int","_wxCoord",0},
12065 { "_int","_wxPrintQuality",0},
12066 { "_int","_time_t",0},
12067 { "_int","_size_t",0},
12068 { "_int","_EBool",0},
12069 { "_int","_uint",0},
12070 { "_int","_wxWindowID",0},
12071 { "_int","_unsigned_int",0},
12072 { "_int","_signed_int",0},
12073 { "_time_t","_wxCoord",0},
12074 { "_time_t","_wxPrintQuality",0},
12075 { "_time_t","_unsigned_int",0},
12076 { "_time_t","_int",0},
12077 { "_time_t","_wxWindowID",0},
12078 { "_time_t","_uint",0},
12079 { "_time_t","_size_t",0},
12080 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
12081 { "_wxCoord","_int",0},
12082 { "_wxCoord","_signed_int",0},
12083 { "_wxCoord","_unsigned_int",0},
12084 { "_wxCoord","_wxWindowID",0},
12085 { "_wxCoord","_uint",0},
12086 { "_wxCoord","_EBool",0},
12087 { "_wxCoord","_size_t",0},
12088 { "_wxCoord","_time_t",0},
12089 { "_wxCoord","_wxPrintQuality",0},
12090 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
12091 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
12092 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
12093 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
12094 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
12095 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
12096 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
12097 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
12098 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
12099 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
12102 static PyObject
*SWIG_globals
;
12106 SWIGEXPORT(void) initwindowsc() {
12108 SWIG_globals
= SWIG_newvarlink();
12109 m
= Py_InitModule("windowsc", windowscMethods
);
12110 d
= PyModule_GetDict(m
);
12113 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12114 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);