2 * FILE : src/gtk/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 */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initwindowsc
56 #define SWIG_name "windowsc"
59 #include <wx/menuitem.h>
60 #include <wx/tooltip.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 class wxPyValidator
: public wxValidator
{
90 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
98 wxObject
* Clone() const {
99 wxPyValidator
* ptr
= NULL
;
100 wxPyValidator
* self
= (wxPyValidator
*)this;
102 wxPyBeginBlockThreads();
103 if (self
->m_myInst
.findCallback("Clone")) {
105 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
107 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
111 wxPyEndBlockThreads();
113 // This is very dangerous!!! But is the only way I could find
114 // to squash a memory leak. Currently it is okay, but if the
115 // validator architecture in wxWindows ever changes, problems
122 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
123 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
124 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
129 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
130 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
131 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
133 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
138 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
141 src
= (wxEvtHandler
*) ptr
;
142 dest
= (wxObject
*) src
;
143 return (void *) dest
;
146 #define new_wxEvtHandler() (new wxEvtHandler())
147 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
148 PyObject
* _resultobj
;
149 wxEvtHandler
* _result
;
150 char *_kwnames
[] = { NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
158 _result
= (wxEvtHandler
*)new_wxEvtHandler();
160 wxPyEndAllowThreads(__tstate
);
161 if (PyErr_Occurred()) return NULL
;
163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
164 _resultobj
= Py_BuildValue("s",_ptemp
);
167 _resultobj
= Py_None
;
172 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
173 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
174 PyObject
* _resultobj
;
176 wxEvtHandler
* _arg0
;
178 PyObject
* _argo0
= 0;
179 PyObject
* _argo1
= 0;
180 char *_kwnames
[] = { "self","event", NULL
};
183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
205 } _resultobj
= Py_BuildValue("i",_result
);
209 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
210 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
212 wxEvtHandler
* _arg0
;
214 PyObject
* _argo0
= 0;
215 PyObject
* _argo1
= 0;
216 char *_kwnames
[] = { "self","event", NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
237 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
239 wxPyEndAllowThreads(__tstate
);
240 if (PyErr_Occurred()) return NULL
;
241 } Py_INCREF(Py_None
);
242 _resultobj
= Py_None
;
246 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
247 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
250 wxEvtHandler
* _arg0
;
251 PyObject
* _argo0
= 0;
252 char *_kwnames
[] = { "self", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
266 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
268 wxPyEndAllowThreads(__tstate
);
269 if (PyErr_Occurred()) return NULL
;
270 } _resultobj
= Py_BuildValue("i",_result
);
274 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
275 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
276 PyObject
* _resultobj
;
277 wxEvtHandler
* _arg0
;
279 PyObject
* _argo0
= 0;
281 char *_kwnames
[] = { "self","enabled", NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
293 _arg1
= (bool ) tempbool1
;
295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
296 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
298 wxPyEndAllowThreads(__tstate
);
299 if (PyErr_Occurred()) return NULL
;
300 } Py_INCREF(Py_None
);
301 _resultobj
= Py_None
;
305 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
306 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
308 wxEvtHandler
* _result
;
309 wxEvtHandler
* _arg0
;
310 PyObject
* _argo0
= 0;
311 char *_kwnames
[] = { "self", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
325 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
327 wxPyEndAllowThreads(__tstate
);
328 if (PyErr_Occurred()) return NULL
;
329 }{ _resultobj
= wxPyMake_wxObject(_result
); }
333 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
334 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
336 wxEvtHandler
* _result
;
337 wxEvtHandler
* _arg0
;
338 PyObject
* _argo0
= 0;
339 char *_kwnames
[] = { "self", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
357 }{ _resultobj
= wxPyMake_wxObject(_result
); }
361 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
362 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
363 PyObject
* _resultobj
;
364 wxEvtHandler
* _arg0
;
365 wxEvtHandler
* _arg1
;
366 PyObject
* _argo0
= 0;
367 PyObject
* _argo1
= 0;
368 char *_kwnames
[] = { "self","handler", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
389 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
391 wxPyEndAllowThreads(__tstate
);
392 if (PyErr_Occurred()) return NULL
;
393 } Py_INCREF(Py_None
);
394 _resultobj
= Py_None
;
398 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
399 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
401 wxEvtHandler
* _arg0
;
402 wxEvtHandler
* _arg1
;
403 PyObject
* _argo0
= 0;
404 PyObject
* _argo1
= 0;
405 char *_kwnames
[] = { "self","handler", NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
418 if (_argo1
== Py_None
) { _arg1
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
426 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
428 wxPyEndAllowThreads(__tstate
);
429 if (PyErr_Occurred()) return NULL
;
430 } Py_INCREF(Py_None
);
431 _resultobj
= Py_None
;
435 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
436 if (PyCallable_Check(func
)) {
437 self
->Connect(id
, lastId
, eventType
,
438 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
439 new wxPyCallback(func
));
441 else if (func
== Py_None
) {
442 self
->Disconnect(id
, lastId
, eventType
,
443 (wxObjectEventFunction
)
444 &wxPyCallback::EventThunker
);
447 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
450 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
451 PyObject
* _resultobj
;
452 wxEvtHandler
* _arg0
;
457 PyObject
* _argo0
= 0;
458 PyObject
* _obj4
= 0;
459 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
476 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
478 wxPyEndAllowThreads(__tstate
);
479 if (PyErr_Occurred()) return NULL
;
480 } Py_INCREF(Py_None
);
481 _resultobj
= Py_None
;
485 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
486 return self
->Disconnect(id
, lastId
, eventType
,
487 (wxObjectEventFunction
)
488 &wxPyCallback::EventThunker
);
490 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
491 PyObject
* _resultobj
;
493 wxEvtHandler
* _arg0
;
495 int _arg2
= (int ) -1;
496 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
512 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
514 wxPyEndAllowThreads(__tstate
);
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
521 self
->SetClientObject(new wxPyClientData(_self
));
523 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
525 wxEvtHandler
* _arg0
;
527 PyObject
* _argo0
= 0;
528 PyObject
* _obj1
= 0;
529 char *_kwnames
[] = { "self","_self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
546 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
548 wxPyEndAllowThreads(__tstate
);
549 if (PyErr_Occurred()) return NULL
;
550 } Py_INCREF(Py_None
);
551 _resultobj
= Py_None
;
555 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
558 src
= (wxValidator
*) ptr
;
559 dest
= (wxEvtHandler
*) src
;
560 return (void *) dest
;
563 static void *SwigwxValidatorTowxObject(void *ptr
) {
566 src
= (wxValidator
*) ptr
;
567 dest
= (wxObject
*) src
;
568 return (void *) dest
;
571 #define new_wxValidator() (new wxValidator())
572 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 PyObject
* _resultobj
;
574 wxValidator
* _result
;
575 char *_kwnames
[] = { NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
583 _result
= (wxValidator
*)new_wxValidator();
585 wxPyEndAllowThreads(__tstate
);
586 if (PyErr_Occurred()) return NULL
;
588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
589 _resultobj
= Py_BuildValue("s",_ptemp
);
592 _resultobj
= Py_None
;
597 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
598 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
599 PyObject
* _resultobj
;
600 wxValidator
* _result
;
602 PyObject
* _argo0
= 0;
603 char *_kwnames
[] = { "self", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
621 }{ _resultobj
= wxPyMake_wxObject(_result
); }
625 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
626 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
630 PyObject
* _argo0
= 0;
631 char *_kwnames
[] = { "self", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
649 }{ _resultobj
= wxPyMake_wxObject(_result
); }
653 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
654 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
658 PyObject
* _argo0
= 0;
659 PyObject
* _argo1
= 0;
660 char *_kwnames
[] = { "self","window", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
681 wxValidator_SetWindow(_arg0
,_arg1
);
683 wxPyEndAllowThreads(__tstate
);
684 if (PyErr_Occurred()) return NULL
;
685 } Py_INCREF(Py_None
);
686 _resultobj
= Py_None
;
690 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 char *_kwnames
[] = { NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
700 _result
= (bool )wxValidator::IsSilent();
702 wxPyEndAllowThreads(__tstate
);
703 if (PyErr_Occurred()) return NULL
;
704 } _resultobj
= Py_BuildValue("i",_result
);
708 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
709 PyObject
* _resultobj
;
710 int _arg0
= (int ) TRUE
;
711 char *_kwnames
[] = { "doIt", NULL
};
714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
718 wxValidator::SetBellOnError(_arg0
);
720 wxPyEndAllowThreads(__tstate
);
721 if (PyErr_Occurred()) return NULL
;
722 } Py_INCREF(Py_None
);
723 _resultobj
= Py_None
;
727 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
730 src
= (wxPyValidator
*) ptr
;
731 dest
= (wxValidator
*) src
;
732 return (void *) dest
;
735 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
738 src
= (wxPyValidator
*) ptr
;
739 dest
= (wxEvtHandler
*) src
;
740 return (void *) dest
;
743 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
746 src
= (wxPyValidator
*) ptr
;
747 dest
= (wxObject
*) src
;
748 return (void *) dest
;
751 #define new_wxPyValidator() (new wxPyValidator())
752 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
754 wxPyValidator
* _result
;
755 char *_kwnames
[] = { NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= (wxPyValidator
*)new_wxPyValidator();
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
769 _resultobj
= Py_BuildValue("s",_ptemp
);
772 _resultobj
= Py_None
;
777 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
778 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
780 wxPyValidator
* _arg0
;
783 int _arg3
= (int ) TRUE
;
784 PyObject
* _argo0
= 0;
785 PyObject
* _obj1
= 0;
786 PyObject
* _obj2
= 0;
787 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
811 } Py_INCREF(Py_None
);
812 _resultobj
= Py_None
;
816 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
819 src
= (wxWindow
*) ptr
;
820 dest
= (wxEvtHandler
*) src
;
821 return (void *) dest
;
824 static void *SwigwxWindowTowxObject(void *ptr
) {
827 src
= (wxWindow
*) ptr
;
828 dest
= (wxObject
*) src
;
829 return (void *) dest
;
832 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
833 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
838 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
839 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
840 long _arg4
= (long ) 0;
841 char * _arg5
= (char *) "panel";
842 PyObject
* _argo0
= 0;
844 PyObject
* _obj2
= 0;
846 PyObject
* _obj3
= 0;
847 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
863 if (! wxPoint_helper(_obj2
, &_arg2
))
869 if (! wxSize_helper(_obj3
, &_arg3
))
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) return NULL
;
879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
880 _resultobj
= Py_BuildValue("s",_ptemp
);
883 _resultobj
= Py_None
;
888 #define new_wxPreWindow() (new wxWindow())
889 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
892 char *_kwnames
[] = { NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
900 _result
= (wxWindow
*)new_wxPreWindow();
902 wxPyEndAllowThreads(__tstate
);
903 if (PyErr_Occurred()) return NULL
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
915 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
921 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
922 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
923 long _arg5
= (long ) 0;
924 char * _arg6
= (char *) "panel";
925 PyObject
* _argo0
= 0;
926 PyObject
* _argo1
= 0;
928 PyObject
* _obj3
= 0;
930 PyObject
* _obj4
= 0;
931 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
953 if (! wxPoint_helper(_obj3
, &_arg3
))
959 if (! wxSize_helper(_obj4
, &_arg4
))
963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
964 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
966 wxPyEndAllowThreads(__tstate
);
967 if (PyErr_Occurred()) return NULL
;
968 } _resultobj
= Py_BuildValue("i",_result
);
972 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
973 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 PyObject
* _argo0
= 0;
977 char *_kwnames
[] = { "self", NULL
};
980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
991 wxWindow_CaptureMouse(_arg0
);
993 wxPyEndAllowThreads(__tstate
);
994 if (PyErr_Occurred()) return NULL
;
995 } Py_INCREF(Py_None
);
996 _resultobj
= Py_None
;
1000 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
1001 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1004 int _arg1
= (int ) wxBOTH
;
1005 PyObject
* _argo0
= 0;
1006 char *_kwnames
[] = { "self","direction", NULL
};
1009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1020 wxWindow_Center(_arg0
,_arg1
);
1022 wxPyEndAllowThreads(__tstate
);
1023 if (PyErr_Occurred()) return NULL
;
1024 } Py_INCREF(Py_None
);
1025 _resultobj
= Py_None
;
1029 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1030 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
* _resultobj
;
1033 int _arg1
= (int ) wxBOTH
;
1034 PyObject
* _argo0
= 0;
1035 char *_kwnames
[] = { "self","direction", NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 wxWindow_Centre(_arg0
,_arg1
);
1051 wxPyEndAllowThreads(__tstate
);
1052 if (PyErr_Occurred()) return NULL
;
1053 } Py_INCREF(Py_None
);
1054 _resultobj
= Py_None
;
1058 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1059 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 int _arg1
= (int ) wxBOTH
;
1063 PyObject
* _argo0
= 0;
1064 char *_kwnames
[] = { "self","direction", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 wxWindow_CentreOnParent(_arg0
,_arg1
);
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) return NULL
;
1082 } Py_INCREF(Py_None
);
1083 _resultobj
= Py_None
;
1087 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1088 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1091 int _arg1
= (int ) wxBOTH
;
1092 PyObject
* _argo0
= 0;
1093 char *_kwnames
[] = { "self","direction", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1107 wxWindow_CenterOnParent(_arg0
,_arg1
);
1109 wxPyEndAllowThreads(__tstate
);
1110 if (PyErr_Occurred()) return NULL
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1116 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1117 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1120 int _arg1
= (int ) wxBOTH
;
1121 PyObject
* _argo0
= 0;
1122 char *_kwnames
[] = { "self","direction", NULL
};
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) return NULL
;
1140 } Py_INCREF(Py_None
);
1141 _resultobj
= Py_None
;
1145 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1146 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1149 int _arg1
= (int ) wxBOTH
;
1150 PyObject
* _argo0
= 0;
1151 char *_kwnames
[] = { "self","direction", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1165 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1167 wxPyEndAllowThreads(__tstate
);
1168 if (PyErr_Occurred()) return NULL
;
1169 } Py_INCREF(Py_None
);
1170 _resultobj
= Py_None
;
1174 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1175 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1179 char *_kwnames
[] = { "self", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1193 wxWindow_Clear(_arg0
);
1195 wxPyEndAllowThreads(__tstate
);
1196 if (PyErr_Occurred()) return NULL
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1202 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1203 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1208 PyObject
* _argo0
= 0;
1210 PyObject
* _obj1
= 0;
1212 PyObject
* _obj2
= 0;
1213 char *_kwnames
[] = { "self","x","y", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1226 temp
= (int) PyInt_AsLong(_obj1
);
1230 temp0
= (int) PyInt_AsLong(_obj2
);
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) return NULL
;
1239 } Py_INCREF(Py_None
);
1240 _resultobj
= Py_None
;
1243 o
= PyInt_FromLong((long) (*_arg1
));
1244 _resultobj
= t_output_helper(_resultobj
, o
);
1248 o
= PyInt_FromLong((long) (*_arg2
));
1249 _resultobj
= t_output_helper(_resultobj
, o
);
1254 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1255 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1260 PyObject
* _argo0
= 0;
1262 PyObject
* _obj1
= 0;
1263 char *_kwnames
[] = { "self","pt", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
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_ClientToScreen. Expected _wxWindow_p.");
1278 if (! wxPoint_helper(_obj1
, &_arg1
))
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) return NULL
;
1287 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1288 _resultobj
= Py_BuildValue("s",_ptemp
);
1292 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1293 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1297 int _arg1
= (int ) FALSE
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self","force", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) return NULL
;
1317 } _resultobj
= Py_BuildValue("i",_result
);
1321 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1322 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1326 PyObject
* _argo0
= 0;
1327 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 _result
= (bool )wxWindow_Destroy(_arg0
);
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) return NULL
;
1345 } _resultobj
= Py_BuildValue("i",_result
);
1349 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1350 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1353 PyObject
* _argo0
= 0;
1354 char *_kwnames
[] = { "self", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 wxWindow_DestroyChildren(_arg0
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) return NULL
;
1372 } Py_INCREF(Py_None
);
1373 _resultobj
= Py_None
;
1377 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1378 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1382 PyObject
* _argo0
= 0;
1383 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) return NULL
;
1401 } _resultobj
= Py_BuildValue("i",_result
);
1405 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1406 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 PyObject
* _argo0
= 0;
1412 char *_kwnames
[] = { "self","enable", NULL
};
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
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_Enable. Expected _wxWindow_p.");
1424 _arg1
= (bool ) tempbool1
;
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 wxWindow_Enable(_arg0
,_arg1
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) return NULL
;
1431 } Py_INCREF(Py_None
);
1432 _resultobj
= Py_None
;
1436 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1437 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1442 PyObject
* _argo0
= 0;
1443 char *_kwnames
[] = { "self","id", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) return NULL
;
1461 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1465 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1466 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1471 PyObject
* _argo0
= 0;
1472 PyObject
* _obj1
= 0;
1473 char *_kwnames
[] = { "self","name", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1486 _arg1
= wxString_in_helper(_obj1
);
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1504 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1505 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1508 PyObject
* _argo0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 wxWindow_Fit(_arg0
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } Py_INCREF(Py_None
);
1528 _resultobj
= Py_None
;
1532 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1533 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1558 _resultobj
= Py_BuildValue("s",_ptemp
);
1562 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1563 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1586 } _resultobj
= Py_BuildValue("i",_result
);
1590 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1591 wxWindowList
& list
= self
->GetChildren();
1592 return wxPy_ConvertList(&list
, "wxWindow");
1594 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1618 _resultobj
= _result
;
1623 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1624 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1628 PyObject
* _argo0
= 0;
1629 char *_kwnames
[] = { "self", NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) return NULL
;
1647 } _resultobj
= Py_BuildValue("i",_result
);
1651 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1652 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) return NULL
;
1675 } _resultobj
= Py_BuildValue("i",_result
);
1679 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1680 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1687 PyObject
* _argo0
= 0;
1688 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) return NULL
;
1712 } Py_INCREF(Py_None
);
1713 _resultobj
= Py_None
;
1716 o
= PyInt_FromLong((long) (*_arg1
));
1717 _resultobj
= t_output_helper(_resultobj
, o
);
1721 o
= PyInt_FromLong((long) (*_arg2
));
1722 _resultobj
= t_output_helper(_resultobj
, o
);
1727 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1728 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1729 PyObject
* _resultobj
;
1732 PyObject
* _argo0
= 0;
1733 char *_kwnames
[] = { "self", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1748 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1753 _resultobj
= Py_BuildValue("s",_ptemp
);
1757 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1758 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) return NULL
;
1782 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1783 _resultobj
= Py_BuildValue("s",_ptemp
);
1787 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1788 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
* _resultobj
;
1792 PyObject
* _argo0
= 0;
1793 char *_kwnames
[] = { "self", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1808 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1810 wxPyEndAllowThreads(__tstate
);
1811 if (PyErr_Occurred()) return NULL
;
1812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1813 _resultobj
= Py_BuildValue("s",_ptemp
);
1817 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1818 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 wxLayoutConstraints
* _result
;
1822 PyObject
* _argo0
= 0;
1823 char *_kwnames
[] = { "self", NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1844 _resultobj
= Py_BuildValue("s",_ptemp
);
1847 _resultobj
= Py_None
;
1852 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1853 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1855 wxEvtHandler
* _result
;
1857 PyObject
* _argo0
= 0;
1858 char *_kwnames
[] = { "self", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) return NULL
;
1876 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1880 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1881 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1885 PyObject
* _argo0
= 0;
1886 char *_kwnames
[] = { "self", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1906 _resultobj
= Py_BuildValue("s",_ptemp
);
1910 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1911 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1915 PyObject
* _argo0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) return NULL
;
1935 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1936 _resultobj
= Py_BuildValue("s",_ptemp
);
1940 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1941 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) return NULL
;
1964 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1968 static long wxWindow_GetHandle(wxWindow
*self
) {
1969 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1971 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1975 PyObject
* _argo0
= 0;
1976 char *_kwnames
[] = { "self", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 _result
= (long )wxWindow_GetHandle(_arg0
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) return NULL
;
1994 } _resultobj
= Py_BuildValue("l",_result
);
1998 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1999 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
* _resultobj
;
2003 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 _result
= (int )wxWindow_GetId(_arg0
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2022 } _resultobj
= Py_BuildValue("i",_result
);
2026 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2027 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2028 PyObject
* _resultobj
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2052 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2063 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2064 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2068 PyObject
* _argo0
= 0;
2069 PyObject
* _obj1
= 0;
2070 char *_kwnames
[] = { "self","label", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2083 _arg1
= wxString_in_helper(_obj1
);
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 wxWindow_SetLabel(_arg0
,*_arg1
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) return NULL
;
2093 } Py_INCREF(Py_None
);
2094 _resultobj
= Py_None
;
2102 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2103 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2107 PyObject
* _argo0
= 0;
2108 char *_kwnames
[] = { "self", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 _result
= new wxString (wxWindow_GetName(_arg0
));
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2128 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2130 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2139 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2140 static PyObject
*_wrap_wxWindow_GetParent(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_GetParent",_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_GetParent. Expected _wxWindow_p.");
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2167 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2168 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2175 PyObject
* _argo0
= 0;
2176 char *_kwnames
[] = { "self", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) return NULL
;
2200 } Py_INCREF(Py_None
);
2201 _resultobj
= Py_None
;
2204 o
= PyInt_FromLong((long) (*_arg1
));
2205 _resultobj
= t_output_helper(_resultobj
, o
);
2209 o
= PyInt_FromLong((long) (*_arg2
));
2210 _resultobj
= t_output_helper(_resultobj
, o
);
2215 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2216 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
* _resultobj
;
2220 PyObject
* _argo0
= 0;
2221 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) return NULL
;
2240 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2241 _resultobj
= Py_BuildValue("s",_ptemp
);
2245 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2246 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2247 PyObject
* _resultobj
;
2250 PyObject
* _argo0
= 0;
2251 char *_kwnames
[] = { "self", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2266 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2268 wxPyEndAllowThreads(__tstate
);
2269 if (PyErr_Occurred()) return NULL
;
2270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2271 _resultobj
= Py_BuildValue("s",_ptemp
);
2275 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2276 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2282 char *_kwnames
[] = { "self","orientation", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) return NULL
;
2300 } _resultobj
= Py_BuildValue("i",_result
);
2304 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2305 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2310 PyObject
* _argo0
= 0;
2311 char *_kwnames
[] = { "self","orientation", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) return NULL
;
2329 } _resultobj
= Py_BuildValue("i",_result
);
2333 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2334 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self","orientation", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } _resultobj
= Py_BuildValue("i",_result
);
2362 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2363 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2370 PyObject
* _argo0
= 0;
2371 char *_kwnames
[] = { "self", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2399 o
= PyInt_FromLong((long) (*_arg1
));
2400 _resultobj
= t_output_helper(_resultobj
, o
);
2404 o
= PyInt_FromLong((long) (*_arg2
));
2405 _resultobj
= t_output_helper(_resultobj
, o
);
2410 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2411 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2436 _resultobj
= Py_BuildValue("s",_ptemp
);
2440 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2441 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 PyObject
* _obj1
= 0;
2451 char *_kwnames
[] = { "self","string", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2470 _arg1
= wxString_in_helper(_obj1
);
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2484 o
= PyInt_FromLong((long) (*_arg2
));
2485 _resultobj
= t_output_helper(_resultobj
, o
);
2489 o
= PyInt_FromLong((long) (*_arg3
));
2490 _resultobj
= t_output_helper(_resultobj
, o
);
2499 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2500 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2512 wxFont
* _arg6
= (wxFont
*) NULL
;
2513 PyObject
* _argo0
= 0;
2514 PyObject
* _obj1
= 0;
2515 PyObject
* _argo6
= 0;
2516 char *_kwnames
[] = { "self","string","font", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2541 _arg1
= wxString_in_helper(_obj1
);
2546 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2558 } Py_INCREF(Py_None
);
2559 _resultobj
= Py_None
;
2562 o
= PyInt_FromLong((long) (*_arg2
));
2563 _resultobj
= t_output_helper(_resultobj
, o
);
2567 o
= PyInt_FromLong((long) (*_arg3
));
2568 _resultobj
= t_output_helper(_resultobj
, o
);
2572 o
= PyInt_FromLong((long) (*_arg4
));
2573 _resultobj
= t_output_helper(_resultobj
, o
);
2577 o
= PyInt_FromLong((long) (*_arg5
));
2578 _resultobj
= t_output_helper(_resultobj
, o
);
2587 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2588 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2592 PyObject
* _argo0
= 0;
2593 char *_kwnames
[] = { "self", NULL
};
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) return NULL
;
2613 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2615 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2624 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2625 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2629 PyObject
* _argo0
= 0;
2630 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2650 _resultobj
= Py_BuildValue("s",_ptemp
);
2654 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2655 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) return NULL
;
2678 } _resultobj
= Py_BuildValue("l",_result
);
2682 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2683 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
* _resultobj
;
2687 PyObject
* _argo0
= 0;
2688 char *_kwnames
[] = { "self","style", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2711 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2712 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
* _resultobj
;
2716 PyObject
* _argo0
= 0;
2717 char *_kwnames
[] = { "self","style", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) return NULL
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2740 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2741 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self","orient", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) return NULL
;
2765 } _resultobj
= Py_BuildValue("i",_result
);
2769 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2770 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2774 PyObject
* _argo0
= 0;
2775 char *_kwnames
[] = { "self", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 _result
= (bool )wxWindow_Hide(_arg0
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) return NULL
;
2793 } _resultobj
= Py_BuildValue("i",_result
);
2797 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2798 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2803 PyObject
* _argo0
= 0;
2805 PyObject
* _obj1
= 0;
2806 char *_kwnames
[] = { "self","pt", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2820 if (! wxPoint_helper(_obj1
, &_arg1
))
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2829 } _resultobj
= Py_BuildValue("i",_result
);
2833 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2834 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2852 wxWindow_InitDialog(_arg0
);
2854 wxPyEndAllowThreads(__tstate
);
2855 if (PyErr_Occurred()) return NULL
;
2856 } Py_INCREF(Py_None
);
2857 _resultobj
= Py_None
;
2861 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2862 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2866 PyObject
* _argo0
= 0;
2867 char *_kwnames
[] = { "self", NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2885 } _resultobj
= Py_BuildValue("i",_result
);
2889 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2890 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
* _resultobj
;
2896 int _arg3
= (int ) 0;
2897 int _arg4
= (int ) 0;
2898 PyObject
* _argo0
= 0;
2899 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) return NULL
;
2917 } _resultobj
= Py_BuildValue("i",_result
);
2921 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2922 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2927 PyObject
* _argo0
= 0;
2929 PyObject
* _obj1
= 0;
2930 char *_kwnames
[] = { "self","pt", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2944 if (! wxPoint_helper(_obj1
, &_arg1
))
2948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2949 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2951 wxPyEndAllowThreads(__tstate
);
2952 if (PyErr_Occurred()) return NULL
;
2953 } _resultobj
= Py_BuildValue("i",_result
);
2957 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2958 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2963 PyObject
* _argo0
= 0;
2965 PyObject
* _obj1
= 0;
2966 char *_kwnames
[] = { "self","rect", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2980 if (! wxRect_helper(_obj1
, &_arg1
))
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) return NULL
;
2989 } _resultobj
= Py_BuildValue("i",_result
);
2993 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2994 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 _result
= (bool )wxWindow_IsRetained(_arg0
);
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) return NULL
;
3017 } _resultobj
= Py_BuildValue("i",_result
);
3021 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3022 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 _result
= (bool )wxWindow_IsShown(_arg0
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) return NULL
;
3045 } _resultobj
= Py_BuildValue("i",_result
);
3049 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3050 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3054 PyObject
* _argo0
= 0;
3055 char *_kwnames
[] = { "self", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) return NULL
;
3073 } _resultobj
= Py_BuildValue("i",_result
);
3077 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3078 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 wxWindow_Layout(_arg0
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) return NULL
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3106 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3112 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3113 PyObject
* _argo0
= 0;
3114 PyObject
* _argo1
= 0;
3115 PyObject
* _obj2
= 0;
3116 PyObject
* _argo3
= 0;
3117 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3137 _arg2
= wxString_in_helper(_obj2
);
3142 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } _resultobj
= Py_BuildValue("i",_result
);
3162 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3163 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "self", NULL
};
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxWindow_Lower(_arg0
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3185 } Py_INCREF(Py_None
);
3186 _resultobj
= Py_None
;
3190 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3191 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3194 bool _arg1
= (bool ) TRUE
;
3195 PyObject
* _argo0
= 0;
3196 int tempbool1
= (int) TRUE
;
3197 char *_kwnames
[] = { "self","flag", NULL
};
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3209 _arg1
= (bool ) tempbool1
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 wxWindow_MakeModal(_arg0
,_arg1
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 } Py_INCREF(Py_None
);
3217 _resultobj
= Py_None
;
3221 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3222 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3227 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3228 PyObject
* _argo0
= 0;
3229 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) return NULL
;
3247 } Py_INCREF(Py_None
);
3248 _resultobj
= Py_None
;
3252 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3253 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3257 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3258 PyObject
* _argo0
= 0;
3260 PyObject
* _obj1
= 0;
3261 char *_kwnames
[] = { "self","point","flags", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3275 if (! wxPoint_helper(_obj1
, &_arg1
))
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) return NULL
;
3284 } Py_INCREF(Py_None
);
3285 _resultobj
= Py_None
;
3289 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3290 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxEvtHandler
* _result
;
3294 bool _arg1
= (bool ) FALSE
;
3295 PyObject
* _argo0
= 0;
3296 int tempbool1
= (int) FALSE
;
3297 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3309 _arg1
= (bool ) tempbool1
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3320 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3321 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3324 wxEvtHandler
* _arg1
;
3325 PyObject
* _argo0
= 0;
3326 PyObject
* _argo1
= 0;
3327 char *_kwnames
[] = { "self","handler", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3340 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3341 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 wxWindow_PushEventHandler(_arg0
,_arg1
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) return NULL
;
3352 } Py_INCREF(Py_None
);
3353 _resultobj
= Py_None
;
3357 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3358 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3362 wxEvtHandler
* _arg1
;
3363 PyObject
* _argo0
= 0;
3364 PyObject
* _argo1
= 0;
3365 char *_kwnames
[] = { "self","handler", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3378 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) return NULL
;
3390 } _resultobj
= Py_BuildValue("i",_result
);
3394 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3395 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3402 PyObject
* _argo0
= 0;
3403 PyObject
* _argo1
= 0;
3404 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) return NULL
;
3429 } _resultobj
= Py_BuildValue("i",_result
);
3433 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3434 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3441 PyObject
* _argo1
= 0;
3443 PyObject
* _obj2
= 0;
3444 char *_kwnames
[] = { "self","menu","pos", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3465 if (! wxPoint_helper(_obj2
, &_arg2
))
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) return NULL
;
3474 } _resultobj
= Py_BuildValue("i",_result
);
3478 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3479 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3482 PyObject
* _argo0
= 0;
3483 char *_kwnames
[] = { "self", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 wxWindow_Raise(_arg0
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) return NULL
;
3501 } Py_INCREF(Py_None
);
3502 _resultobj
= Py_None
;
3506 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3507 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3510 bool _arg1
= (bool ) TRUE
;
3511 wxRect
* _arg2
= (wxRect
*) NULL
;
3512 PyObject
* _argo0
= 0;
3513 int tempbool1
= (int) TRUE
;
3515 PyObject
* _obj2
= 0;
3516 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3528 _arg1
= (bool ) tempbool1
;
3532 if (! wxRect_helper(_obj2
, &_arg2
))
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) return NULL
;
3541 } Py_INCREF(Py_None
);
3542 _resultobj
= Py_None
;
3546 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3547 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3551 PyObject
* _argo0
= 0;
3553 PyObject
* _obj1
= 0;
3554 char *_kwnames
[] = { "self","rect", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3568 if (! wxRect_helper(_obj1
, &_arg1
))
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 wxWindow_RefreshRect(_arg0
,*_arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3577 } Py_INCREF(Py_None
);
3578 _resultobj
= Py_None
;
3582 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
3583 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3586 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 wxWindow_ReleaseMouse(_arg0
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) return NULL
;
3605 } Py_INCREF(Py_None
);
3606 _resultobj
= Py_None
;
3610 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3611 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
* _resultobj
;
3615 PyObject
* _argo0
= 0;
3616 PyObject
* _argo1
= 0;
3617 char *_kwnames
[] = { "self","child", NULL
};
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
3623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 wxWindow_RemoveChild(_arg0
,_arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3642 } Py_INCREF(Py_None
);
3643 _resultobj
= Py_None
;
3647 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3648 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3653 PyObject
* _argo0
= 0;
3654 PyObject
* _argo1
= 0;
3655 char *_kwnames
[] = { "self","newParent", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) return NULL
;
3680 } _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3685 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3690 PyObject
* _argo0
= 0;
3692 PyObject
* _obj1
= 0;
3694 PyObject
* _obj2
= 0;
3695 char *_kwnames
[] = { "self","x","y", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3708 temp
= (int) PyInt_AsLong(_obj1
);
3712 temp0
= (int) PyInt_AsLong(_obj2
);
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) return NULL
;
3721 } Py_INCREF(Py_None
);
3722 _resultobj
= Py_None
;
3725 o
= PyInt_FromLong((long) (*_arg1
));
3726 _resultobj
= t_output_helper(_resultobj
, o
);
3730 o
= PyInt_FromLong((long) (*_arg2
));
3731 _resultobj
= t_output_helper(_resultobj
, o
);
3736 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3737 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3742 PyObject
* _argo0
= 0;
3744 PyObject
* _obj1
= 0;
3745 char *_kwnames
[] = { "self","pt", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3760 if (! wxPoint_helper(_obj1
, &_arg1
))
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3769 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3770 _resultobj
= Py_BuildValue("s",_ptemp
);
3774 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3775 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3780 wxRect
* _arg3
= (wxRect
*) NULL
;
3781 PyObject
* _argo0
= 0;
3783 PyObject
* _obj3
= 0;
3784 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3799 if (! wxRect_helper(_obj3
, &_arg3
))
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) return NULL
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3814 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3818 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self","autoLayout", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3832 _arg1
= (bool ) tempbool1
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) return NULL
;
3839 } Py_INCREF(Py_None
);
3840 _resultobj
= Py_None
;
3844 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3845 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3849 PyObject
* _argo0
= 0;
3850 char *_kwnames
[] = { "self", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAutoLayout. Expected _wxWindow_p.");
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) return NULL
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3873 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3877 PyObject
* _argo0
= 0;
3879 PyObject
* _obj1
= 0;
3880 char *_kwnames
[] = { "self","colour", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetBackgroundColour. Expected _wxWindow_p.");
3894 if (! wxColour_helper(_obj1
, &_arg1
))
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) return NULL
;
3903 } Py_INCREF(Py_None
);
3904 _resultobj
= Py_None
;
3908 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3909 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3912 wxLayoutConstraints
* _arg1
;
3913 PyObject
* _argo0
= 0;
3914 PyObject
* _argo1
= 0;
3915 char *_kwnames
[] = { "self","constraints", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 wxWindow_SetConstraints(_arg0
,_arg1
);
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) return NULL
;
3940 } Py_INCREF(Py_None
);
3941 _resultobj
= Py_None
;
3945 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3946 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3949 wxLayoutConstraints
* _arg1
;
3950 PyObject
* _argo0
= 0;
3951 PyObject
* _argo1
= 0;
3952 char *_kwnames
[] = { "self","constraints", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3977 } Py_INCREF(Py_None
);
3978 _resultobj
= Py_None
;
3982 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3983 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3986 PyObject
* _argo0
= 0;
3987 char *_kwnames
[] = { "self", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 wxWindow_SetFocus(_arg0
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4005 } Py_INCREF(Py_None
);
4006 _resultobj
= Py_None
;
4010 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4011 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4015 PyObject
* _argo0
= 0;
4016 char *_kwnames
[] = { "self", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } _resultobj
= Py_BuildValue("i",_result
);
4038 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4039 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4043 PyObject
* _argo0
= 0;
4044 PyObject
* _argo1
= 0;
4045 char *_kwnames
[] = { "self","font", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_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_SetFont. Expected _wxWindow_p.");
4058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 wxWindow_SetFont(_arg0
,*_arg1
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) return NULL
;
4070 } Py_INCREF(Py_None
);
4071 _resultobj
= Py_None
;
4075 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4076 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4080 PyObject
* _argo0
= 0;
4082 PyObject
* _obj1
= 0;
4083 char *_kwnames
[] = { "self","colour", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4097 if (! wxColour_helper(_obj1
, &_arg1
))
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) return NULL
;
4106 } Py_INCREF(Py_None
);
4107 _resultobj
= Py_None
;
4111 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4112 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
* _resultobj
;
4116 PyObject
* _argo0
= 0;
4117 char *_kwnames
[] = { "self","id", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxWindow_SetId(_arg0
,_arg1
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) return NULL
;
4135 } Py_INCREF(Py_None
);
4136 _resultobj
= Py_None
;
4140 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4141 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4145 PyObject
* _argo0
= 0;
4146 PyObject
* _obj1
= 0;
4147 char *_kwnames
[] = { "self","name", NULL
};
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4160 _arg1
= wxString_in_helper(_obj1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 wxWindow_SetName(_arg0
,*_arg1
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) return NULL
;
4170 } Py_INCREF(Py_None
);
4171 _resultobj
= Py_None
;
4179 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4180 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4187 int _arg5
= (int ) TRUE
;
4188 PyObject
* _argo0
= 0;
4189 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) return NULL
;
4207 } Py_INCREF(Py_None
);
4208 _resultobj
= Py_None
;
4212 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4213 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4218 bool _arg3
= (bool ) TRUE
;
4219 PyObject
* _argo0
= 0;
4220 int tempbool3
= (int) TRUE
;
4221 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4233 _arg3
= (bool ) tempbool3
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4240 } Py_INCREF(Py_None
);
4241 _resultobj
= Py_None
;
4245 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4246 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4253 int _arg5
= (int ) wxSIZE_AUTO
;
4254 PyObject
* _argo0
= 0;
4255 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) return NULL
;
4273 } Py_INCREF(Py_None
);
4274 _resultobj
= Py_None
;
4278 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4279 self
->SetSize(size
);
4281 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4285 PyObject
* _argo0
= 0;
4287 PyObject
* _obj1
= 0;
4288 char *_kwnames
[] = { "self","size", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4302 if (! wxSize_helper(_obj1
, &_arg1
))
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 wxWindow_SetSize(_arg0
,*_arg1
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) return NULL
;
4311 } Py_INCREF(Py_None
);
4312 _resultobj
= Py_None
;
4316 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4317 self
->Move(pos
, flags
);
4319 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
* _resultobj
;
4323 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4324 PyObject
* _argo0
= 0;
4326 PyObject
* _obj1
= 0;
4327 char *_kwnames
[] = { "self","pos","flags", NULL
};
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4341 if (! wxPoint_helper(_obj1
, &_arg1
))
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) return NULL
;
4350 } Py_INCREF(Py_None
);
4351 _resultobj
= Py_None
;
4355 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4356 self
->SetSize(rect
, sizeFlags
);
4358 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4362 int _arg2
= (int ) wxSIZE_AUTO
;
4363 PyObject
* _argo0
= 0;
4365 PyObject
* _obj1
= 0;
4366 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4380 if (! wxRect_helper(_obj1
, &_arg1
))
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4389 } Py_INCREF(Py_None
);
4390 _resultobj
= Py_None
;
4394 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4395 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4398 int _arg1
= (int ) -1;
4399 int _arg2
= (int ) -1;
4400 int _arg3
= (int ) -1;
4401 int _arg4
= (int ) -1;
4402 int _arg5
= (int ) -1;
4403 int _arg6
= (int ) -1;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiiiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) return NULL
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4428 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4429 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self","width","height", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4459 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4463 PyObject
* _argo0
= 0;
4465 PyObject
* _obj1
= 0;
4466 char *_kwnames
[] = { "self","size", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4480 if (! wxSize_helper(_obj1
, &_arg1
))
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 wxWindow_SetClientSize(_arg0
,*_arg1
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) return NULL
;
4489 } Py_INCREF(Py_None
);
4490 _resultobj
= Py_None
;
4494 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4495 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4499 PyObject
* _argo0
= 0;
4500 PyObject
* _argo1
= 0;
4501 char *_kwnames
[] = { "self","cursor", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 wxWindow_SetCursor(_arg0
,*_arg1
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) return NULL
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4532 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4535 wxEvtHandler
* _arg1
;
4536 PyObject
* _argo0
= 0;
4537 PyObject
* _argo1
= 0;
4538 char *_kwnames
[] = { "self","handler", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 wxWindow_SetEventHandler(_arg0
,_arg1
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) return NULL
;
4563 } Py_INCREF(Py_None
);
4564 _resultobj
= Py_None
;
4568 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4569 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4573 PyObject
* _argo0
= 0;
4574 char *_kwnames
[] = { "self","exStyle", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) return NULL
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4597 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4598 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4602 PyObject
* _argo0
= 0;
4603 PyObject
* _obj1
= 0;
4604 char *_kwnames
[] = { "self","title", NULL
};
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4617 _arg1
= wxString_in_helper(_obj1
);
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 wxWindow_SetTitle(_arg0
,*_arg1
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) return NULL
;
4627 } Py_INCREF(Py_None
);
4628 _resultobj
= Py_None
;
4636 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4637 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4641 bool _arg1
= (bool ) TRUE
;
4642 PyObject
* _argo0
= 0;
4643 int tempbool1
= (int) TRUE
;
4644 char *_kwnames
[] = { "self","show", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4656 _arg1
= (bool ) tempbool1
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) return NULL
;
4663 } _resultobj
= Py_BuildValue("i",_result
);
4667 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4668 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4672 PyObject
* _argo0
= 0;
4673 char *_kwnames
[] = { "self", NULL
};
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) return NULL
;
4691 } _resultobj
= Py_BuildValue("i",_result
);
4695 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4696 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "self", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4719 } _resultobj
= Py_BuildValue("i",_result
);
4723 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4724 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4727 PyObject
* _argo0
= 0;
4728 char *_kwnames
[] = { "self", NULL
};
4731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 wxWindow_UpdateWindowUI(_arg0
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) return NULL
;
4746 } Py_INCREF(Py_None
);
4747 _resultobj
= Py_None
;
4751 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4752 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4756 PyObject
* _argo0
= 0;
4757 char *_kwnames
[] = { "self", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 _result
= (bool )wxWindow_Validate(_arg0
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) return NULL
;
4775 } _resultobj
= Py_BuildValue("i",_result
);
4779 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
4780 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4785 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self","x","y", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4810 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4815 PyObject
* _argo0
= 0;
4817 PyObject
* _obj1
= 0;
4818 char *_kwnames
[] = { "self","pt", NULL
};
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4833 if (! wxPoint_helper(_obj1
, &_arg1
))
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) return NULL
;
4842 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4843 _resultobj
= Py_BuildValue("s",_ptemp
);
4847 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4848 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4853 PyObject
* _argo0
= 0;
4855 PyObject
* _obj1
= 0;
4856 char *_kwnames
[] = { "self","sz", NULL
};
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
4863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
4871 if (! wxSize_helper(_obj1
, &_arg1
))
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) return NULL
;
4880 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4881 _resultobj
= Py_BuildValue("s",_ptemp
);
4885 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4886 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4891 PyObject
* _argo0
= 0;
4893 PyObject
* _obj1
= 0;
4894 char *_kwnames
[] = { "self","pt", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
4901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
4909 if (! wxPoint_helper(_obj1
, &_arg1
))
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) return NULL
;
4918 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4919 _resultobj
= Py_BuildValue("s",_ptemp
);
4923 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
4924 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
* _resultobj
;
4929 PyObject
* _argo0
= 0;
4931 PyObject
* _obj1
= 0;
4932 char *_kwnames
[] = { "self","sz", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
4947 if (! wxSize_helper(_obj1
, &_arg1
))
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) return NULL
;
4956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4957 _resultobj
= Py_BuildValue("s",_ptemp
);
4961 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
4962 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4966 PyObject
* _argo0
= 0;
4967 PyObject
* _obj1
= 0;
4968 char *_kwnames
[] = { "self","tip", NULL
};
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
4974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
4981 _arg1
= wxString_in_helper(_obj1
);
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxWindow_SetToolTipString(_arg0
,*_arg1
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) return NULL
;
4991 } Py_INCREF(Py_None
);
4992 _resultobj
= Py_None
;
5000 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5001 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5005 PyObject
* _argo0
= 0;
5006 PyObject
* _argo1
= 0;
5007 char *_kwnames
[] = { "self","tooltip", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5020 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 wxWindow_SetToolTip(_arg0
,_arg1
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) return NULL
;
5032 } Py_INCREF(Py_None
);
5033 _resultobj
= Py_None
;
5037 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5038 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
* _resultobj
;
5040 wxToolTip
* _result
;
5042 PyObject
* _argo0
= 0;
5043 char *_kwnames
[] = { "self", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) return NULL
;
5061 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5065 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5066 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
* _resultobj
;
5070 bool _arg2
= (bool ) TRUE
;
5071 PyObject
* _argo0
= 0;
5072 PyObject
* _argo1
= 0;
5073 int tempbool2
= (int) TRUE
;
5074 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5093 _arg2
= (bool ) tempbool2
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) return NULL
;
5100 } Py_INCREF(Py_None
);
5101 _resultobj
= Py_None
;
5105 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5106 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5110 PyObject
* _argo0
= 0;
5111 char *_kwnames
[] = { "self", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) return NULL
;
5129 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5133 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5134 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
* _resultobj
;
5138 PyObject
* _argo0
= 0;
5139 PyObject
* _argo1
= 0;
5140 char *_kwnames
[] = { "self","sizer", NULL
};
5143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) return NULL
;
5165 } Py_INCREF(Py_None
);
5166 _resultobj
= Py_None
;
5170 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5171 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
* _resultobj
;
5175 PyObject
* _argo0
= 0;
5176 char *_kwnames
[] = { "self", NULL
};
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) return NULL
;
5194 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5198 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5199 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
* _resultobj
;
5201 wxValidator
* _result
;
5203 PyObject
* _argo0
= 0;
5204 char *_kwnames
[] = { "self", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5226 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5227 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5230 wxValidator
* _arg1
;
5231 PyObject
* _argo0
= 0;
5232 PyObject
* _argo1
= 0;
5233 char *_kwnames
[] = { "self","validator", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 wxWindow_SetValidator(_arg0
,*_arg1
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } Py_INCREF(Py_None
);
5259 _resultobj
= Py_None
;
5263 #define wxWindow_SetDropTarget(_swigobj,_swigarg0) (_swigobj->SetDropTarget(_swigarg0))
5264 static PyObject
*_wrap_wxWindow_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5267 wxDropTarget
* _arg1
;
5268 PyObject
* _argo0
= 0;
5269 PyObject
* _argo1
= 0;
5270 char *_kwnames
[] = { "self","target", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDropTarget",_kwnames
,&_argo0
,&_argo1
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDropTarget. Expected _wxWindow_p.");
5283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDropTarget_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDropTarget. Expected _wxDropTarget_p.");
5290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5291 wxWindow_SetDropTarget(_arg0
,_arg1
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) return NULL
;
5295 } Py_INCREF(Py_None
);
5296 _resultobj
= Py_None
;
5300 #define wxWindow_GetDropTarget(_swigobj) (_swigobj->GetDropTarget())
5301 static PyObject
*_wrap_wxWindow_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxDropTarget
* _result
;
5305 PyObject
* _argo0
= 0;
5306 char *_kwnames
[] = { "self", NULL
};
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDropTarget",_kwnames
,&_argo0
))
5313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDropTarget. Expected _wxWindow_p.");
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= (wxDropTarget
*)wxWindow_GetDropTarget(_arg0
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDropTarget_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5330 _resultobj
= Py_None
;
5335 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5336 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5340 PyObject
* _argo0
= 0;
5341 char *_kwnames
[] = { "self", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) return NULL
;
5360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5361 _resultobj
= Py_BuildValue("s",_ptemp
);
5365 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5366 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5370 PyObject
* _argo0
= 0;
5371 char *_kwnames
[] = { "self", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) return NULL
;
5390 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5391 _resultobj
= Py_BuildValue("s",_ptemp
);
5395 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5396 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
* _resultobj
;
5400 PyObject
* _argo0
= 0;
5401 PyObject
* _argo1
= 0;
5402 char *_kwnames
[] = { "self","caret", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 wxWindow_SetCaret(_arg0
,_arg1
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) return NULL
;
5427 } Py_INCREF(Py_None
);
5428 _resultobj
= Py_None
;
5432 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5433 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
* _resultobj
;
5437 PyObject
* _argo0
= 0;
5438 char *_kwnames
[] = { "self", NULL
};
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5459 _resultobj
= Py_BuildValue("s",_ptemp
);
5462 _resultobj
= Py_None
;
5467 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5468 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5471 PyObject
* _argo0
= 0;
5472 char *_kwnames
[] = { "self", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5486 wxWindow_Freeze(_arg0
);
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) return NULL
;
5490 } Py_INCREF(Py_None
);
5491 _resultobj
= Py_None
;
5495 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5496 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5499 PyObject
* _argo0
= 0;
5500 char *_kwnames
[] = { "self", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 wxWindow_Thaw(_arg0
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) return NULL
;
5518 } Py_INCREF(Py_None
);
5519 _resultobj
= Py_None
;
5523 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5524 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
* _resultobj
;
5527 PyObject
* _argo0
= 0;
5528 char *_kwnames
[] = { "self", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 wxWindow_Update(_arg0
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5546 } Py_INCREF(Py_None
);
5547 _resultobj
= Py_None
;
5551 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5552 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5557 char *_kwnames
[] = { "self", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) return NULL
;
5577 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5588 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5589 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
* _resultobj
;
5593 PyObject
* _argo0
= 0;
5594 PyObject
* _obj1
= 0;
5595 char *_kwnames
[] = { "self","helpText", NULL
};
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5608 _arg1
= wxString_in_helper(_obj1
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 wxWindow_SetHelpText(_arg0
,*_arg1
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) return NULL
;
5618 } Py_INCREF(Py_None
);
5619 _resultobj
= Py_None
;
5627 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5628 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
* _resultobj
;
5632 PyObject
* _argo0
= 0;
5633 PyObject
* _obj1
= 0;
5634 char *_kwnames
[] = { "self","text", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5647 _arg1
= wxString_in_helper(_obj1
);
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) return NULL
;
5657 } Py_INCREF(Py_None
);
5658 _resultobj
= Py_None
;
5666 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5667 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5672 PyObject
* _argo0
= 0;
5673 char *_kwnames
[] = { "self","lines", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) return NULL
;
5691 } _resultobj
= Py_BuildValue("i",_result
);
5695 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5696 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5701 PyObject
* _argo0
= 0;
5702 char *_kwnames
[] = { "self","pages", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollPages. Expected _wxWindow_p.");
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) return NULL
;
5720 } _resultobj
= Py_BuildValue("i",_result
);
5724 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5725 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
* _resultobj
;
5729 PyObject
* _argo0
= 0;
5730 char *_kwnames
[] = { "self", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 _result
= (bool )wxWindow_LineUp(_arg0
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) return NULL
;
5748 } _resultobj
= Py_BuildValue("i",_result
);
5752 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5753 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5757 PyObject
* _argo0
= 0;
5758 char *_kwnames
[] = { "self", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 _result
= (bool )wxWindow_LineDown(_arg0
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) return NULL
;
5776 } _resultobj
= Py_BuildValue("i",_result
);
5780 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5781 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 _result
= (bool )wxWindow_PageUp(_arg0
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) return NULL
;
5804 } _resultobj
= Py_BuildValue("i",_result
);
5808 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5809 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
* _resultobj
;
5813 PyObject
* _argo0
= 0;
5814 char *_kwnames
[] = { "self", NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 _result
= (bool )wxWindow_PageDown(_arg0
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5832 } _resultobj
= Py_BuildValue("i",_result
);
5836 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5839 char *_kwnames
[] = { NULL
};
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 _result
= (wxWindow
*)wxWindow::FindFocus();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5850 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5854 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5857 char *_kwnames
[] = { NULL
};
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 _result
= (int )wxWindow::NewControlId();
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) return NULL
;
5868 } _resultobj
= Py_BuildValue("i",_result
);
5872 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5876 char *_kwnames
[] = { "id", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 _result
= (int )wxWindow::NextControlId(_arg0
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) return NULL
;
5887 } _resultobj
= Py_BuildValue("i",_result
);
5891 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5895 char *_kwnames
[] = { "id", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 _result
= (int )wxWindow::PrevControlId(_arg0
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) return NULL
;
5906 } _resultobj
= Py_BuildValue("i",_result
);
5910 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
5911 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
* _resultobj
;
5914 wxAcceleratorTable
* _arg1
;
5915 PyObject
* _argo0
= 0;
5916 PyObject
* _argo1
= 0;
5917 char *_kwnames
[] = { "self","accel", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
5930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) return NULL
;
5942 } Py_INCREF(Py_None
);
5943 _resultobj
= Py_None
;
5947 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
5948 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5950 wxAcceleratorTable
* _result
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) return NULL
;
5973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5974 _resultobj
= Py_BuildValue("s",_ptemp
);
5977 _resultobj
= Py_None
;
5982 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
5983 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6002 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6004 wxPyEndAllowThreads(__tstate
);
6005 if (PyErr_Occurred()) return NULL
;
6006 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6010 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6011 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6016 PyObject
* _argo0
= 0;
6017 PyObject
* _argo1
= 0;
6018 char *_kwnames
[] = { "self","btn", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6031 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6043 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6047 static void *SwigwxPanelTowxWindow(void *ptr
) {
6050 src
= (wxPanel
*) ptr
;
6051 dest
= (wxWindow
*) src
;
6052 return (void *) dest
;
6055 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6058 src
= (wxPanel
*) ptr
;
6059 dest
= (wxEvtHandler
*) src
;
6060 return (void *) dest
;
6063 static void *SwigwxPanelTowxObject(void *ptr
) {
6066 src
= (wxPanel
*) ptr
;
6067 dest
= (wxObject
*) src
;
6068 return (void *) dest
;
6071 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6072 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
* _resultobj
;
6077 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6078 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6079 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6080 char * _arg5
= (char *) "panel";
6081 PyObject
* _argo0
= 0;
6083 PyObject
* _obj2
= 0;
6085 PyObject
* _obj3
= 0;
6086 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6102 if (! wxPoint_helper(_obj2
, &_arg2
))
6108 if (! wxSize_helper(_obj3
, &_arg3
))
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) return NULL
;
6118 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6119 _resultobj
= Py_BuildValue("s",_ptemp
);
6122 _resultobj
= Py_None
;
6127 #define new_wxPrePanel() (new wxPanel())
6128 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
* _resultobj
;
6131 char *_kwnames
[] = { NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 _result
= (wxPanel
*)new_wxPrePanel();
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) return NULL
;
6144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6145 _resultobj
= Py_BuildValue("s",_ptemp
);
6148 _resultobj
= Py_None
;
6153 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6154 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6160 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6161 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6162 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6163 char * _arg6
= (char *) "panel";
6164 PyObject
* _argo0
= 0;
6165 PyObject
* _argo1
= 0;
6167 PyObject
* _obj3
= 0;
6169 PyObject
* _obj4
= 0;
6170 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6192 if (! wxPoint_helper(_obj3
, &_arg3
))
6198 if (! wxSize_helper(_obj4
, &_arg4
))
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) return NULL
;
6207 } _resultobj
= Py_BuildValue("i",_result
);
6211 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6212 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
* _resultobj
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self", NULL
};
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 wxPanel_InitDialog(_arg0
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) return NULL
;
6234 } Py_INCREF(Py_None
);
6235 _resultobj
= Py_None
;
6239 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6240 wxScrolledWindow
*src
;
6242 src
= (wxScrolledWindow
*) ptr
;
6243 dest
= (wxPanel
*) src
;
6244 return (void *) dest
;
6247 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6248 wxScrolledWindow
*src
;
6250 src
= (wxScrolledWindow
*) ptr
;
6251 dest
= (wxWindow
*) src
;
6252 return (void *) dest
;
6255 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6256 wxScrolledWindow
*src
;
6258 src
= (wxScrolledWindow
*) ptr
;
6259 dest
= (wxEvtHandler
*) src
;
6260 return (void *) dest
;
6263 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6264 wxScrolledWindow
*src
;
6266 src
= (wxScrolledWindow
*) ptr
;
6267 dest
= (wxObject
*) src
;
6268 return (void *) dest
;
6271 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6272 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6274 wxScrolledWindow
* _result
;
6276 wxWindowID _arg1
= (wxWindowID
) -1;
6277 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6278 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6279 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6280 char * _arg5
= (char *) "scrolledWindow";
6281 PyObject
* _argo0
= 0;
6283 PyObject
* _obj2
= 0;
6285 PyObject
* _obj3
= 0;
6286 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6302 if (! wxPoint_helper(_obj2
, &_arg2
))
6308 if (! wxSize_helper(_obj3
, &_arg3
))
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) return NULL
;
6318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6319 _resultobj
= Py_BuildValue("s",_ptemp
);
6322 _resultobj
= Py_None
;
6327 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6328 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6330 wxScrolledWindow
* _result
;
6331 char *_kwnames
[] = { NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) return NULL
;
6344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6345 _resultobj
= Py_BuildValue("s",_ptemp
);
6348 _resultobj
= Py_None
;
6353 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6354 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6357 wxScrolledWindow
* _arg0
;
6359 wxWindowID _arg2
= (wxWindowID
) -1;
6360 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6361 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6362 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6363 char * _arg6
= (char *) "scrolledWindow";
6364 PyObject
* _argo0
= 0;
6365 PyObject
* _argo1
= 0;
6367 PyObject
* _obj3
= 0;
6369 PyObject
* _obj4
= 0;
6370 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6383 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6392 if (! wxPoint_helper(_obj3
, &_arg3
))
6398 if (! wxSize_helper(_obj4
, &_arg4
))
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6407 } _resultobj
= Py_BuildValue("i",_result
);
6411 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6412 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6414 wxScrolledWindow
* _arg0
;
6417 PyObject
* _argo0
= 0;
6420 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6432 _arg1
= (bool ) tempbool1
;
6433 _arg2
= (bool ) tempbool2
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) return NULL
;
6440 } Py_INCREF(Py_None
);
6441 _resultobj
= Py_None
;
6445 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6446 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6449 wxScrolledWindow
* _arg0
;
6451 PyObject
* _argo0
= 0;
6452 char *_kwnames
[] = { "self","orient", NULL
};
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) return NULL
;
6470 } _resultobj
= Py_BuildValue("i",_result
);
6474 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6475 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
* _resultobj
;
6477 wxScrolledWindow
* _arg0
;
6482 PyObject
* _argo0
= 0;
6483 char *_kwnames
[] = { "self", NULL
};
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) return NULL
;
6507 } Py_INCREF(Py_None
);
6508 _resultobj
= Py_None
;
6511 o
= PyInt_FromLong((long) (*_arg1
));
6512 _resultobj
= t_output_helper(_resultobj
, o
);
6516 o
= PyInt_FromLong((long) (*_arg2
));
6517 _resultobj
= t_output_helper(_resultobj
, o
);
6522 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6523 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
* _resultobj
;
6526 wxScrolledWindow
* _arg0
;
6527 PyObject
* _argo0
= 0;
6528 char *_kwnames
[] = { "self", NULL
};
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
6534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetTargetWindow. Expected _wxScrolledWindow_p.");
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) return NULL
;
6546 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6550 #define wxScrolledWindow_GetVirtualSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
6551 static PyObject
*_wrap_wxScrolledWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6553 wxScrolledWindow
* _arg0
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetVirtualSize",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetVirtualSize. Expected _wxScrolledWindow_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 wxScrolledWindow_GetVirtualSize(_arg0
,_arg1
,_arg2
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6583 } Py_INCREF(Py_None
);
6584 _resultobj
= Py_None
;
6587 o
= PyInt_FromLong((long) (*_arg1
));
6588 _resultobj
= t_output_helper(_resultobj
, o
);
6592 o
= PyInt_FromLong((long) (*_arg2
));
6593 _resultobj
= t_output_helper(_resultobj
, o
);
6598 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6599 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6602 wxScrolledWindow
* _arg0
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) return NULL
;
6622 } _resultobj
= Py_BuildValue("i",_result
);
6626 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6627 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6629 wxScrolledWindow
* _arg0
;
6631 PyObject
* _argo0
= 0;
6632 PyObject
* _argo1
= 0;
6633 char *_kwnames
[] = { "self","dc", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) return NULL
;
6658 } Py_INCREF(Py_None
);
6659 _resultobj
= Py_None
;
6663 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6664 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6666 wxScrolledWindow
* _arg0
;
6669 PyObject
* _argo0
= 0;
6670 char *_kwnames
[] = { "self","x","y", NULL
};
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) return NULL
;
6688 } Py_INCREF(Py_None
);
6689 _resultobj
= Py_None
;
6693 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6694 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
* _resultobj
;
6696 wxScrolledWindow
* _arg0
;
6701 int _arg5
= (int ) 0;
6702 int _arg6
= (int ) 0;
6703 int _arg7
= (int ) FALSE
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) return NULL
;
6723 } Py_INCREF(Py_None
);
6724 _resultobj
= Py_None
;
6728 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
6729 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
* _resultobj
;
6731 wxScrolledWindow
* _arg0
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) return NULL
;
6753 } Py_INCREF(Py_None
);
6754 _resultobj
= Py_None
;
6758 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
6759 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
* _resultobj
;
6761 wxScrolledWindow
* _arg0
;
6763 PyObject
* _argo0
= 0;
6764 PyObject
* _argo1
= 0;
6765 char *_kwnames
[] = { "self","window", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
6778 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6779 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) return NULL
;
6790 } Py_INCREF(Py_None
);
6791 _resultobj
= Py_None
;
6795 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
6796 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6798 wxScrolledWindow
* _arg0
;
6803 PyObject
* _argo0
= 0;
6804 char *_kwnames
[] = { "self", NULL
};
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
6816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) return NULL
;
6828 } Py_INCREF(Py_None
);
6829 _resultobj
= Py_None
;
6832 o
= PyInt_FromLong((long) (*_arg1
));
6833 _resultobj
= t_output_helper(_resultobj
, o
);
6837 o
= PyInt_FromLong((long) (*_arg2
));
6838 _resultobj
= t_output_helper(_resultobj
, o
);
6843 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
6844 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
* _resultobj
;
6847 wxScrolledWindow
* _arg0
;
6849 PyObject
* _argo0
= 0;
6851 PyObject
* _obj1
= 0;
6852 char *_kwnames
[] = { "self","pt", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
6867 if (! wxPoint_helper(_obj1
, &_arg1
))
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) return NULL
;
6876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6877 _resultobj
= Py_BuildValue("s",_ptemp
);
6881 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6882 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
* _resultobj
;
6884 wxScrolledWindow
* _arg0
;
6891 PyObject
* _argo0
= 0;
6892 char *_kwnames
[] = { "self","x","y", NULL
};
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) return NULL
;
6916 } Py_INCREF(Py_None
);
6917 _resultobj
= Py_None
;
6920 o
= PyInt_FromLong((long) (*_arg3
));
6921 _resultobj
= t_output_helper(_resultobj
, o
);
6925 o
= PyInt_FromLong((long) (*_arg4
));
6926 _resultobj
= t_output_helper(_resultobj
, o
);
6931 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
6932 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6935 wxScrolledWindow
* _arg0
;
6937 PyObject
* _argo0
= 0;
6939 PyObject
* _obj1
= 0;
6940 char *_kwnames
[] = { "self","pt", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
6955 if (! wxPoint_helper(_obj1
, &_arg1
))
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) return NULL
;
6964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6965 _resultobj
= Py_BuildValue("s",_ptemp
);
6969 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6970 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
* _resultobj
;
6972 wxScrolledWindow
* _arg0
;
6979 PyObject
* _argo0
= 0;
6980 char *_kwnames
[] = { "self","x","y", NULL
};
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) return NULL
;
7004 } Py_INCREF(Py_None
);
7005 _resultobj
= Py_None
;
7008 o
= PyInt_FromLong((long) (*_arg3
));
7009 _resultobj
= t_output_helper(_resultobj
, o
);
7013 o
= PyInt_FromLong((long) (*_arg4
));
7014 _resultobj
= t_output_helper(_resultobj
, o
);
7019 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7020 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7022 wxScrolledWindow
* _arg0
;
7025 PyObject
* _argo0
= 0;
7026 char *_kwnames
[] = { "self","xs","ys", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) return NULL
;
7044 } Py_INCREF(Py_None
);
7045 _resultobj
= Py_None
;
7049 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7050 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
* _resultobj
;
7053 wxScrolledWindow
* _arg0
;
7054 PyObject
* _argo0
= 0;
7055 char *_kwnames
[] = { "self", NULL
};
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) return NULL
;
7073 } _resultobj
= Py_BuildValue("d",_result
);
7077 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7078 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7081 wxScrolledWindow
* _arg0
;
7082 PyObject
* _argo0
= 0;
7083 char *_kwnames
[] = { "self", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) return NULL
;
7101 } _resultobj
= Py_BuildValue("d",_result
);
7105 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7106 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7108 wxScrolledWindow
* _arg0
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxScrolledWindow_AdjustScrollbars(_arg0
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) return NULL
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7133 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7134 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7137 wxScrolledWindow
* _arg0
;
7138 PyObject
* _argo0
= 0;
7139 char *_kwnames
[] = { "self", NULL
};
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) return NULL
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7164 src
= (wxMenu
*) ptr
;
7165 dest
= (wxEvtHandler
*) src
;
7166 return (void *) dest
;
7169 static void *SwigwxMenuTowxObject(void *ptr
) {
7172 src
= (wxMenu
*) ptr
;
7173 dest
= (wxObject
*) src
;
7174 return (void *) dest
;
7177 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7178 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
* _resultobj
;
7181 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
7182 long _arg1
= (long ) 0;
7183 PyObject
* _obj0
= 0;
7184 char *_kwnames
[] = { "title","style", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7192 _arg0
= wxString_in_helper(_obj0
);
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) return NULL
;
7203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7204 _resultobj
= Py_BuildValue("s",_ptemp
);
7207 _resultobj
= Py_None
;
7216 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7217 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
* _resultobj
;
7222 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7223 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
7224 PyObject
* _argo0
= 0;
7225 PyObject
* _obj2
= 0;
7226 PyObject
* _obj3
= 0;
7227 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7240 _arg2
= wxString_in_helper(_obj2
);
7246 _arg3
= wxString_in_helper(_obj3
);
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) return NULL
;
7256 } Py_INCREF(Py_None
);
7257 _resultobj
= Py_None
;
7269 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7270 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7276 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7277 PyObject
* _argo0
= 0;
7278 PyObject
* _obj2
= 0;
7279 PyObject
* _argo3
= 0;
7280 PyObject
* _obj4
= 0;
7281 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7294 _arg2
= wxString_in_helper(_obj2
);
7299 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7307 _arg4
= wxString_in_helper(_obj4
);
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) return NULL
;
7317 } Py_INCREF(Py_None
);
7318 _resultobj
= Py_None
;
7330 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7331 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7335 PyObject
* _argo0
= 0;
7336 PyObject
* _argo1
= 0;
7337 char *_kwnames
[] = { "self","item", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 wxMenu_AppendItem(_arg0
,_arg1
);
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) return NULL
;
7362 } Py_INCREF(Py_None
);
7363 _resultobj
= Py_None
;
7367 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7368 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
* _resultobj
;
7373 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7374 PyObject
* _argo0
= 0;
7375 PyObject
* _obj2
= 0;
7376 PyObject
* _obj3
= 0;
7377 char *_kwnames
[] = { "self","id","text","help", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7390 _arg2
= wxString_in_helper(_obj2
);
7396 _arg3
= wxString_in_helper(_obj3
);
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7419 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7420 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7425 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7426 PyObject
* _argo0
= 0;
7427 PyObject
* _obj2
= 0;
7428 PyObject
* _obj3
= 0;
7429 char *_kwnames
[] = { "self","id","text","help", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7442 _arg2
= wxString_in_helper(_obj2
);
7448 _arg3
= wxString_in_helper(_obj3
);
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) return NULL
;
7458 } Py_INCREF(Py_None
);
7459 _resultobj
= Py_None
;
7471 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7472 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7475 PyObject
* _argo0
= 0;
7476 char *_kwnames
[] = { "self", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 wxMenu_AppendSeparator(_arg0
);
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) return NULL
;
7494 } Py_INCREF(Py_None
);
7495 _resultobj
= Py_None
;
7499 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7500 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
* _resultobj
;
7506 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7507 wxItemKind _arg5
= (wxItemKind
) wxItem_Normal
;
7508 PyObject
* _argo0
= 0;
7509 PyObject
* _obj3
= 0;
7510 PyObject
* _obj4
= 0;
7511 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7524 _arg3
= wxString_in_helper(_obj3
);
7530 _arg4
= wxString_in_helper(_obj4
);
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) return NULL
;
7540 } Py_INCREF(Py_None
);
7541 _resultobj
= Py_None
;
7553 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7554 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
* _resultobj
;
7558 PyObject
* _argo0
= 0;
7559 char *_kwnames
[] = { "self","pos", NULL
};
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxMenu_InsertSeparator(_arg0
,_arg1
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) return NULL
;
7577 } Py_INCREF(Py_None
);
7578 _resultobj
= Py_None
;
7582 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7583 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
* _resultobj
;
7589 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7590 PyObject
* _argo0
= 0;
7591 PyObject
* _obj3
= 0;
7592 PyObject
* _obj4
= 0;
7593 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7606 _arg3
= wxString_in_helper(_obj3
);
7612 _arg4
= wxString_in_helper(_obj4
);
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) return NULL
;
7622 } Py_INCREF(Py_None
);
7623 _resultobj
= Py_None
;
7635 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7636 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7642 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7643 PyObject
* _argo0
= 0;
7644 PyObject
* _obj3
= 0;
7645 PyObject
* _obj4
= 0;
7646 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7659 _arg3
= wxString_in_helper(_obj3
);
7665 _arg4
= wxString_in_helper(_obj4
);
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) return NULL
;
7675 } Py_INCREF(Py_None
);
7676 _resultobj
= Py_None
;
7688 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7689 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
* _resultobj
;
7696 wxString
* _arg5
= (wxString
*) &wxEmptyString
;
7697 PyObject
* _argo0
= 0;
7698 PyObject
* _obj3
= 0;
7699 PyObject
* _argo4
= 0;
7700 PyObject
* _obj5
= 0;
7701 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7714 _arg3
= wxString_in_helper(_obj3
);
7719 if (_argo4
== Py_None
) { _arg4
= NULL
; }
7720 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
7721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
7727 _arg5
= wxString_in_helper(_obj5
);
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) return NULL
;
7737 } Py_INCREF(Py_None
);
7738 _resultobj
= Py_None
;
7750 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
7751 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7757 PyObject
* _argo0
= 0;
7758 PyObject
* _argo2
= 0;
7759 char *_kwnames
[] = { "self","pos","item", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
7772 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) return NULL
;
7784 } _resultobj
= Py_BuildValue("i",_result
);
7788 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7789 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
* _resultobj
;
7794 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7795 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
7796 PyObject
* _argo0
= 0;
7797 PyObject
* _obj2
= 0;
7798 PyObject
* _obj3
= 0;
7799 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
7812 _arg2
= wxString_in_helper(_obj2
);
7818 _arg3
= wxString_in_helper(_obj3
);
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) return NULL
;
7828 } Py_INCREF(Py_None
);
7829 _resultobj
= Py_None
;
7841 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
7842 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7845 PyObject
* _argo0
= 0;
7846 char *_kwnames
[] = { "self", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxMenu_PrependSeparator(_arg0
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7869 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
7870 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
* _resultobj
;
7875 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7876 PyObject
* _argo0
= 0;
7877 PyObject
* _obj2
= 0;
7878 PyObject
* _obj3
= 0;
7879 char *_kwnames
[] = { "self","id","text","help", NULL
};
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
7892 _arg2
= wxString_in_helper(_obj2
);
7898 _arg3
= wxString_in_helper(_obj3
);
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) return NULL
;
7908 } Py_INCREF(Py_None
);
7909 _resultobj
= Py_None
;
7921 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
7922 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7927 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
7928 PyObject
* _argo0
= 0;
7929 PyObject
* _obj2
= 0;
7930 PyObject
* _obj3
= 0;
7931 char *_kwnames
[] = { "self","id","text","help", NULL
};
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
7944 _arg2
= wxString_in_helper(_obj2
);
7950 _arg3
= wxString_in_helper(_obj3
);
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) return NULL
;
7960 } Py_INCREF(Py_None
);
7961 _resultobj
= Py_None
;
7973 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7974 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7980 wxString
* _arg4
= (wxString
*) &wxEmptyString
;
7981 PyObject
* _argo0
= 0;
7982 PyObject
* _obj2
= 0;
7983 PyObject
* _argo3
= 0;
7984 PyObject
* _obj4
= 0;
7985 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
7988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
7998 _arg2
= wxString_in_helper(_obj2
);
8003 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8004 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8011 _arg4
= wxString_in_helper(_obj4
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) return NULL
;
8021 } Py_INCREF(Py_None
);
8022 _resultobj
= Py_None
;
8034 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8035 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8039 PyObject
* _argo0
= 0;
8040 PyObject
* _argo1
= 0;
8041 char *_kwnames
[] = { "self","item", NULL
};
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 wxMenu_PrependItem(_arg0
,_arg1
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) return NULL
;
8066 } Py_INCREF(Py_None
);
8067 _resultobj
= Py_None
;
8071 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8072 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
* _resultobj
;
8075 PyObject
* _argo0
= 0;
8076 char *_kwnames
[] = { "self", NULL
};
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 wxMenu_Break(_arg0
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) return NULL
;
8094 } Py_INCREF(Py_None
);
8095 _resultobj
= Py_None
;
8099 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8100 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
* _resultobj
;
8105 PyObject
* _argo0
= 0;
8107 char *_kwnames
[] = { "self","id","flag", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8119 _arg2
= (bool ) tempbool2
;
8121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8122 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) return NULL
;
8126 } Py_INCREF(Py_None
);
8127 _resultobj
= Py_None
;
8131 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8132 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
* _resultobj
;
8137 PyObject
* _argo0
= 0;
8138 char *_kwnames
[] = { "self","id", NULL
};
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) return NULL
;
8156 } _resultobj
= Py_BuildValue("i",_result
);
8160 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8161 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
* _resultobj
;
8166 PyObject
* _argo0
= 0;
8168 char *_kwnames
[] = { "self","id","enable", NULL
};
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8180 _arg2
= (bool ) tempbool2
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) return NULL
;
8187 } Py_INCREF(Py_None
);
8188 _resultobj
= Py_None
;
8192 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8193 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
* _resultobj
;
8198 PyObject
* _argo0
= 0;
8199 char *_kwnames
[] = { "self","id", NULL
};
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) return NULL
;
8217 } _resultobj
= Py_BuildValue("i",_result
);
8221 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8222 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
* _resultobj
;
8227 PyObject
* _argo0
= 0;
8228 PyObject
* _obj1
= 0;
8229 char *_kwnames
[] = { "self","itemString", NULL
};
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8242 _arg1
= wxString_in_helper(_obj1
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) return NULL
;
8252 } _resultobj
= Py_BuildValue("i",_result
);
8260 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8261 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8263 wxMenuItem
* _result
;
8266 PyObject
* _argo0
= 0;
8267 char *_kwnames
[] = { "self","id", NULL
};
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) return NULL
;
8285 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8289 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8290 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
* _resultobj
;
8294 PyObject
* _argo0
= 0;
8295 char *_kwnames
[] = { "self", NULL
};
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8309 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8311 wxPyEndAllowThreads(__tstate
);
8312 if (PyErr_Occurred()) return NULL
;
8315 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8317 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8326 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8327 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
* _resultobj
;
8331 PyObject
* _argo0
= 0;
8332 PyObject
* _obj1
= 0;
8333 char *_kwnames
[] = { "self","title", NULL
};
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8346 _arg1
= wxString_in_helper(_obj1
);
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 wxMenu_SetTitle(_arg0
,*_arg1
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8356 } Py_INCREF(Py_None
);
8357 _resultobj
= Py_None
;
8365 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8366 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
* _resultobj
;
8371 PyObject
* _argo0
= 0;
8372 char *_kwnames
[] = { "self","id", NULL
};
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) return NULL
;
8392 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8394 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8403 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8404 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
* _resultobj
;
8409 PyObject
* _argo0
= 0;
8410 PyObject
* _obj2
= 0;
8411 char *_kwnames
[] = { "self","id","label", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8424 _arg2
= wxString_in_helper(_obj2
);
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) return NULL
;
8434 } Py_INCREF(Py_None
);
8435 _resultobj
= Py_None
;
8443 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8444 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
* _resultobj
;
8449 PyObject
* _argo0
= 0;
8450 char *_kwnames
[] = { "self","id", NULL
};
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) return NULL
;
8470 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8472 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8481 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8482 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
* _resultobj
;
8487 PyObject
* _argo0
= 0;
8488 PyObject
* _obj2
= 0;
8489 char *_kwnames
[] = { "self","id","helpString", NULL
};
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8502 _arg2
= wxString_in_helper(_obj2
);
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) return NULL
;
8512 } Py_INCREF(Py_None
);
8513 _resultobj
= Py_None
;
8521 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8522 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8525 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8526 PyObject
* _argo0
= 0;
8527 PyObject
* _argo1
= 0;
8528 char *_kwnames
[] = { "self","source", NULL
};
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 wxMenu_UpdateUI(_arg0
,_arg1
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8553 } Py_INCREF(Py_None
);
8554 _resultobj
= Py_None
;
8558 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8559 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
* _resultobj
;
8564 PyObject
* _argo0
= 0;
8565 char *_kwnames
[] = { "self","id", NULL
};
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) return NULL
;
8583 } _resultobj
= Py_BuildValue("i",_result
);
8587 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8588 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
* _resultobj
;
8593 PyObject
* _argo0
= 0;
8594 PyObject
* _argo1
= 0;
8595 char *_kwnames
[] = { "self","item", NULL
};
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) return NULL
;
8620 } _resultobj
= Py_BuildValue("i",_result
);
8624 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8625 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
* _resultobj
;
8627 wxMenuItem
* _result
;
8630 PyObject
* _argo0
= 0;
8631 char *_kwnames
[] = { "self","id", NULL
};
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) return NULL
;
8649 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8653 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8654 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
* _resultobj
;
8656 wxMenuItem
* _result
;
8659 PyObject
* _argo0
= 0;
8660 PyObject
* _argo1
= 0;
8661 char *_kwnames
[] = { "self","item", NULL
};
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
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_RemoveItem. Expected _wxMenu_p.");
8674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) return NULL
;
8686 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8690 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8691 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
* _resultobj
;
8694 PyObject
* _argo0
= 0;
8695 char *_kwnames
[] = { "self", NULL
};
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
8701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxMenu_Destroy(_arg0
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) return NULL
;
8713 } Py_INCREF(Py_None
);
8714 _resultobj
= Py_None
;
8718 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8719 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
* _resultobj
;
8724 PyObject
* _argo0
= 0;
8725 char *_kwnames
[] = { "self","id", NULL
};
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
8731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) return NULL
;
8743 } _resultobj
= Py_BuildValue("i",_result
);
8747 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
8748 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
* _resultobj
;
8753 PyObject
* _argo0
= 0;
8754 PyObject
* _argo1
= 0;
8755 char *_kwnames
[] = { "self","item", NULL
};
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
8761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
8768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) return NULL
;
8780 } _resultobj
= Py_BuildValue("i",_result
);
8784 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
8785 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
* _resultobj
;
8789 PyObject
* _argo0
= 0;
8790 char *_kwnames
[] = { "self", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8808 } _resultobj
= Py_BuildValue("i",_result
);
8812 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
8813 wxMenuItemList
& list
= self
->GetMenuItems();
8814 return wxPy_ConvertList(&list
, "wxMenuItem");
8816 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
* _resultobj
;
8820 PyObject
* _argo0
= 0;
8821 char *_kwnames
[] = { "self", NULL
};
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
8827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) return NULL
;
8840 _resultobj
= _result
;
8845 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
8846 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8849 wxEvtHandler
* _arg1
;
8850 PyObject
* _argo0
= 0;
8851 PyObject
* _argo1
= 0;
8852 char *_kwnames
[] = { "self","handler", NULL
};
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
8858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
8865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 wxMenu_SetEventHandler(_arg0
,_arg1
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) return NULL
;
8877 } Py_INCREF(Py_None
);
8878 _resultobj
= Py_None
;
8882 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
8883 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
* _resultobj
;
8885 wxEvtHandler
* _result
;
8887 PyObject
* _argo0
= 0;
8888 char *_kwnames
[] = { "self", NULL
};
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
8894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) return NULL
;
8906 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8910 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
8911 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
* _resultobj
;
8915 PyObject
* _argo0
= 0;
8916 PyObject
* _argo1
= 0;
8917 char *_kwnames
[] = { "self","win", NULL
};
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
8923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
8930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) return NULL
;
8942 } Py_INCREF(Py_None
);
8943 _resultobj
= Py_None
;
8947 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
8948 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8952 PyObject
* _argo0
= 0;
8953 char *_kwnames
[] = { "self", NULL
};
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
8959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) return NULL
;
8971 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8975 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
8976 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
* _resultobj
;
8980 PyObject
* _argo0
= 0;
8981 char *_kwnames
[] = { "self", NULL
};
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
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_GetStyle. Expected _wxMenu_p.");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 _result
= (long )wxMenu_GetStyle(_arg0
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) return NULL
;
8999 } _resultobj
= Py_BuildValue("l",_result
);
9003 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9004 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
* _resultobj
;
9008 PyObject
* _argo0
= 0;
9009 char *_kwnames
[] = { "self", NULL
};
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 _result
= (bool )wxMenu_IsAttached(_arg0
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) return NULL
;
9027 } _resultobj
= Py_BuildValue("i",_result
);
9031 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9032 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
* _resultobj
;
9036 PyObject
* _argo0
= 0;
9037 PyObject
* _argo1
= 0;
9038 char *_kwnames
[] = { "self","parent", NULL
};
9041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9051 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9052 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 wxMenu_SetParent(_arg0
,_arg1
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) return NULL
;
9063 } Py_INCREF(Py_None
);
9064 _resultobj
= Py_None
;
9068 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9069 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
* _resultobj
;
9073 PyObject
* _argo0
= 0;
9074 char *_kwnames
[] = { "self", NULL
};
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) return NULL
;
9092 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9096 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9099 src
= (wxMenuBar
*) ptr
;
9100 dest
= (wxWindow
*) src
;
9101 return (void *) dest
;
9104 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9107 src
= (wxMenuBar
*) ptr
;
9108 dest
= (wxEvtHandler
*) src
;
9109 return (void *) dest
;
9112 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9115 src
= (wxMenuBar
*) ptr
;
9116 dest
= (wxObject
*) src
;
9117 return (void *) dest
;
9120 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9121 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
* _resultobj
;
9123 wxMenuBar
* _result
;
9124 long _arg0
= (long ) 0;
9125 char *_kwnames
[] = { "style", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9135 wxPyEndAllowThreads(__tstate
);
9136 if (PyErr_Occurred()) return NULL
;
9138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9139 _resultobj
= Py_BuildValue("s",_ptemp
);
9142 _resultobj
= Py_None
;
9147 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9148 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
* _resultobj
;
9154 PyObject
* _argo0
= 0;
9155 PyObject
* _argo1
= 0;
9156 PyObject
* _obj2
= 0;
9157 char *_kwnames
[] = { "self","menu","title", NULL
};
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9177 _arg2
= wxString_in_helper(_obj2
);
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) return NULL
;
9187 } _resultobj
= Py_BuildValue("i",_result
);
9195 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9196 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9203 PyObject
* _argo0
= 0;
9204 PyObject
* _argo2
= 0;
9205 PyObject
* _obj3
= 0;
9206 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9219 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9220 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9226 _arg3
= wxString_in_helper(_obj3
);
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) return NULL
;
9236 } _resultobj
= Py_BuildValue("i",_result
);
9244 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9245 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
* _resultobj
;
9249 PyObject
* _argo0
= 0;
9250 char *_kwnames
[] = { "self", NULL
};
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9268 } _resultobj
= Py_BuildValue("i",_result
);
9272 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9273 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9278 PyObject
* _argo0
= 0;
9279 char *_kwnames
[] = { "self","pos", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) return NULL
;
9297 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9301 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9302 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
* _resultobj
;
9309 PyObject
* _argo0
= 0;
9310 PyObject
* _argo2
= 0;
9311 PyObject
* _obj3
= 0;
9312 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9325 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9332 _arg3
= wxString_in_helper(_obj3
);
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) return NULL
;
9342 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9350 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9351 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
* _resultobj
;
9356 PyObject
* _argo0
= 0;
9357 char *_kwnames
[] = { "self","pos", NULL
};
9360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) return NULL
;
9375 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9379 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9380 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
* _resultobj
;
9385 PyObject
* _argo0
= 0;
9387 char *_kwnames
[] = { "self","pos","enable", NULL
};
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9399 _arg2
= (bool ) tempbool2
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) return NULL
;
9406 } Py_INCREF(Py_None
);
9407 _resultobj
= Py_None
;
9411 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9412 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9417 PyObject
* _argo0
= 0;
9418 PyObject
* _obj2
= 0;
9419 char *_kwnames
[] = { "self","pos","label", NULL
};
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9432 _arg2
= wxString_in_helper(_obj2
);
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) return NULL
;
9442 } Py_INCREF(Py_None
);
9443 _resultobj
= Py_None
;
9451 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9452 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
* _resultobj
;
9457 PyObject
* _argo0
= 0;
9458 char *_kwnames
[] = { "self","pos", NULL
};
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) return NULL
;
9478 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9480 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9489 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9490 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
* _resultobj
;
9495 PyObject
* _argo0
= 0;
9496 PyObject
* _obj1
= 0;
9497 char *_kwnames
[] = { "self","title", NULL
};
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9510 _arg1
= wxString_in_helper(_obj1
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) return NULL
;
9520 } _resultobj
= Py_BuildValue("i",_result
);
9528 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9529 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
* _resultobj
;
9535 PyObject
* _argo0
= 0;
9536 PyObject
* _obj1
= 0;
9537 PyObject
* _obj2
= 0;
9538 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9551 _arg1
= wxString_in_helper(_obj1
);
9556 _arg2
= wxString_in_helper(_obj2
);
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) return NULL
;
9566 } _resultobj
= Py_BuildValue("i",_result
);
9578 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9579 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
* _resultobj
;
9581 wxMenuItem
* _result
;
9584 PyObject
* _argo0
= 0;
9585 char *_kwnames
[] = { "self","id", NULL
};
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) return NULL
;
9603 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9607 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9608 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
* _resultobj
;
9613 PyObject
* _argo0
= 0;
9615 char *_kwnames
[] = { "self","id","enable", NULL
};
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9627 _arg2
= (bool ) tempbool2
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) return NULL
;
9634 } Py_INCREF(Py_None
);
9635 _resultobj
= Py_None
;
9639 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9640 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
* _resultobj
;
9645 PyObject
* _argo0
= 0;
9647 char *_kwnames
[] = { "self","id","check", NULL
};
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9659 _arg2
= (bool ) tempbool2
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) return NULL
;
9666 } Py_INCREF(Py_None
);
9667 _resultobj
= Py_None
;
9671 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9672 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
* _resultobj
;
9677 PyObject
* _argo0
= 0;
9678 char *_kwnames
[] = { "self","id", NULL
};
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) return NULL
;
9696 } _resultobj
= Py_BuildValue("i",_result
);
9700 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
9701 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
* _resultobj
;
9706 PyObject
* _argo0
= 0;
9707 char *_kwnames
[] = { "self","id", NULL
};
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
9713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) return NULL
;
9725 } _resultobj
= Py_BuildValue("i",_result
);
9729 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9730 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
* _resultobj
;
9735 PyObject
* _argo0
= 0;
9736 PyObject
* _obj2
= 0;
9737 char *_kwnames
[] = { "self","id","label", NULL
};
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
9750 _arg2
= wxString_in_helper(_obj2
);
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) return NULL
;
9760 } Py_INCREF(Py_None
);
9761 _resultobj
= Py_None
;
9769 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9770 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9771 PyObject
* _resultobj
;
9775 PyObject
* _argo0
= 0;
9776 char *_kwnames
[] = { "self","id", NULL
};
9779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
9782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) return NULL
;
9796 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9807 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
9808 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
* _resultobj
;
9813 PyObject
* _argo0
= 0;
9814 PyObject
* _obj2
= 0;
9815 char *_kwnames
[] = { "self","id","helpString", NULL
};
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
9828 _arg2
= wxString_in_helper(_obj2
);
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } Py_INCREF(Py_None
);
9839 _resultobj
= Py_None
;
9847 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
9848 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
* _resultobj
;
9853 PyObject
* _argo0
= 0;
9854 char *_kwnames
[] = { "self","id", NULL
};
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
9860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) return NULL
;
9874 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9876 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9885 static void *SwigwxMenuItemTowxObject(void *ptr
) {
9888 src
= (wxMenuItem
*) ptr
;
9889 dest
= (wxObject
*) src
;
9890 return (void *) dest
;
9893 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9894 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
* _resultobj
;
9896 wxMenuItem
* _result
;
9897 wxMenu
* _arg0
= (wxMenu
*) NULL
;
9898 int _arg1
= (int ) wxID_SEPARATOR
;
9899 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
9900 wxString
* _arg3
= (wxString
*) &wxEmptyString
;
9901 wxItemKind _arg4
= (wxItemKind
) wxItem_Normal
;
9902 wxMenu
* _arg5
= (wxMenu
*) NULL
;
9903 PyObject
* _argo0
= 0;
9904 PyObject
* _obj2
= 0;
9905 PyObject
* _obj3
= 0;
9906 PyObject
* _argo5
= 0;
9907 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
9914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
9922 _arg2
= wxString_in_helper(_obj2
);
9928 _arg3
= wxString_in_helper(_obj3
);
9933 if (_argo5
== Py_None
) { _arg5
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) return NULL
;
9946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
9947 _resultobj
= Py_BuildValue("s",_ptemp
);
9950 _resultobj
= Py_None
;
9963 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
9964 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
* _resultobj
;
9968 PyObject
* _argo0
= 0;
9969 char *_kwnames
[] = { "self", NULL
};
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
9975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
9977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) return NULL
;
9987 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9991 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
9992 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9996 PyObject
* _argo0
= 0;
9997 char *_kwnames
[] = { "self","id", NULL
};
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 wxMenuItem_SetId(_arg0
,_arg1
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) return NULL
;
10015 } Py_INCREF(Py_None
);
10016 _resultobj
= Py_None
;
10020 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10021 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
* _resultobj
;
10024 wxMenuItem
* _arg0
;
10025 PyObject
* _argo0
= 0;
10026 char *_kwnames
[] = { "self", NULL
};
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 _result
= (int )wxMenuItem_GetId(_arg0
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) return NULL
;
10044 } _resultobj
= Py_BuildValue("i",_result
);
10048 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10049 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
* _resultobj
;
10052 wxMenuItem
* _arg0
;
10053 PyObject
* _argo0
= 0;
10054 char *_kwnames
[] = { "self", NULL
};
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) return NULL
;
10072 } _resultobj
= Py_BuildValue("i",_result
);
10076 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10077 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
* _resultobj
;
10079 wxMenuItem
* _arg0
;
10081 PyObject
* _argo0
= 0;
10082 PyObject
* _obj1
= 0;
10083 char *_kwnames
[] = { "self","str", NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10096 _arg1
= wxString_in_helper(_obj1
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 wxMenuItem_SetText(_arg0
,*_arg1
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) return NULL
;
10106 } Py_INCREF(Py_None
);
10107 _resultobj
= Py_None
;
10115 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10116 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
* _resultobj
;
10118 wxString
* _result
;
10119 wxMenuItem
* _arg0
;
10120 PyObject
* _argo0
= 0;
10121 char *_kwnames
[] = { "self", NULL
};
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10135 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10137 wxPyEndAllowThreads(__tstate
);
10138 if (PyErr_Occurred()) return NULL
;
10141 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10152 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10153 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
* _resultobj
;
10155 wxString
* _result
;
10156 wxMenuItem
* _arg0
;
10157 PyObject
* _argo0
= 0;
10158 char *_kwnames
[] = { "self", NULL
};
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10173 _result
= (wxString
*) &_result_ref
;
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) return NULL
;
10179 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10181 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10187 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10188 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
* _resultobj
;
10190 wxItemKind _result
;
10191 wxMenuItem
* _arg0
;
10192 PyObject
* _argo0
= 0;
10193 char *_kwnames
[] = { "self", NULL
};
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) return NULL
;
10211 } _resultobj
= Py_BuildValue("i",_result
);
10215 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10216 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10218 wxMenuItem
* _arg0
;
10220 PyObject
* _argo0
= 0;
10222 char *_kwnames
[] = { "self","checkable", NULL
};
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10234 _arg1
= (bool ) tempbool1
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) return NULL
;
10241 } Py_INCREF(Py_None
);
10242 _resultobj
= Py_None
;
10246 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10247 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
* _resultobj
;
10250 wxMenuItem
* _arg0
;
10251 PyObject
* _argo0
= 0;
10252 char *_kwnames
[] = { "self", NULL
};
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) return NULL
;
10270 } _resultobj
= Py_BuildValue("i",_result
);
10274 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10275 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
* _resultobj
;
10278 wxMenuItem
* _arg0
;
10279 PyObject
* _argo0
= 0;
10280 char *_kwnames
[] = { "self", NULL
};
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) return NULL
;
10298 } _resultobj
= Py_BuildValue("i",_result
);
10302 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10303 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10305 wxMenuItem
* _arg0
;
10307 PyObject
* _argo0
= 0;
10308 PyObject
* _argo1
= 0;
10309 char *_kwnames
[] = { "self","menu", NULL
};
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) return NULL
;
10334 } Py_INCREF(Py_None
);
10335 _resultobj
= Py_None
;
10339 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10340 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
* _resultobj
;
10343 wxMenuItem
* _arg0
;
10344 PyObject
* _argo0
= 0;
10345 char *_kwnames
[] = { "self", NULL
};
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) return NULL
;
10363 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10367 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10368 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
* _resultobj
;
10370 wxMenuItem
* _arg0
;
10371 bool _arg1
= (bool ) TRUE
;
10372 PyObject
* _argo0
= 0;
10373 int tempbool1
= (int) TRUE
;
10374 char *_kwnames
[] = { "self","enable", NULL
};
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10386 _arg1
= (bool ) tempbool1
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 wxMenuItem_Enable(_arg0
,_arg1
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) return NULL
;
10393 } Py_INCREF(Py_None
);
10394 _resultobj
= Py_None
;
10398 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10399 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
* _resultobj
;
10402 wxMenuItem
* _arg0
;
10403 PyObject
* _argo0
= 0;
10404 char *_kwnames
[] = { "self", NULL
};
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) return NULL
;
10422 } _resultobj
= Py_BuildValue("i",_result
);
10426 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10427 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
* _resultobj
;
10429 wxMenuItem
* _arg0
;
10430 bool _arg1
= (bool ) TRUE
;
10431 PyObject
* _argo0
= 0;
10432 int tempbool1
= (int) TRUE
;
10433 char *_kwnames
[] = { "self","check", NULL
};
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10445 _arg1
= (bool ) tempbool1
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 wxMenuItem_Check(_arg0
,_arg1
);
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) return NULL
;
10452 } Py_INCREF(Py_None
);
10453 _resultobj
= Py_None
;
10457 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10458 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
* _resultobj
;
10461 wxMenuItem
* _arg0
;
10462 PyObject
* _argo0
= 0;
10463 char *_kwnames
[] = { "self", NULL
};
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) return NULL
;
10481 } _resultobj
= Py_BuildValue("i",_result
);
10485 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10486 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10487 PyObject
* _resultobj
;
10488 wxMenuItem
* _arg0
;
10489 PyObject
* _argo0
= 0;
10490 char *_kwnames
[] = { "self", NULL
};
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 wxMenuItem_Toggle(_arg0
);
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) return NULL
;
10508 } Py_INCREF(Py_None
);
10509 _resultobj
= Py_None
;
10513 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10514 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
* _resultobj
;
10516 wxMenuItem
* _arg0
;
10518 PyObject
* _argo0
= 0;
10519 PyObject
* _obj1
= 0;
10520 char *_kwnames
[] = { "self","str", NULL
};
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10533 _arg1
= wxString_in_helper(_obj1
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) return NULL
;
10543 } Py_INCREF(Py_None
);
10544 _resultobj
= Py_None
;
10552 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10553 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
* _resultobj
;
10555 wxString
* _result
;
10556 wxMenuItem
* _arg0
;
10557 PyObject
* _argo0
= 0;
10558 char *_kwnames
[] = { "self", NULL
};
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10573 _result
= (wxString
*) &_result_ref
;
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) return NULL
;
10579 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10581 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10587 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10588 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
* _resultobj
;
10590 wxAcceleratorEntry
* _result
;
10591 wxMenuItem
* _arg0
;
10592 PyObject
* _argo0
= 0;
10593 char *_kwnames
[] = { "self", NULL
};
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) return NULL
;
10613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10614 _resultobj
= Py_BuildValue("s",_ptemp
);
10616 Py_INCREF(Py_None
);
10617 _resultobj
= Py_None
;
10622 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10623 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
* _resultobj
;
10625 wxMenuItem
* _arg0
;
10626 wxAcceleratorEntry
* _arg1
;
10627 PyObject
* _argo0
= 0;
10628 PyObject
* _argo1
= 0;
10629 char *_kwnames
[] = { "self","accel", NULL
};
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10642 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10643 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 wxMenuItem_SetAccel(_arg0
,_arg1
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) return NULL
;
10654 } Py_INCREF(Py_None
);
10655 _resultobj
= Py_None
;
10659 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
* _resultobj
;
10661 wxString
* _result
;
10663 PyObject
* _obj0
= 0;
10664 char *_kwnames
[] = { "text", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10670 _arg0
= wxString_in_helper(_obj0
);
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) return NULL
;
10682 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10684 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10697 static PyMethodDef windowscMethods
[] = {
10698 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
10699 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10700 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
10701 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10702 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
10703 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
10704 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10705 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
10706 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10707 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10708 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10709 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10710 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
10711 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10712 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
10713 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
10714 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
10715 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10716 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
10717 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10718 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10719 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10720 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10721 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10722 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10723 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10724 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxScrolledWindow_GetVirtualSize", (PyCFunction
) _wrap_wxScrolledWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxWindow_GetDropTarget", (PyCFunction
) _wrap_wxWindow_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxWindow_SetDropTarget", (PyCFunction
) _wrap_wxWindow_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11005 * This table is used by the pointer type-checker
11007 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11008 { "_signed_long","_long",0},
11009 { "_wxPrintQuality","_wxCoord",0},
11010 { "_wxPrintQuality","_int",0},
11011 { "_wxPrintQuality","_signed_int",0},
11012 { "_wxPrintQuality","_unsigned_int",0},
11013 { "_wxPrintQuality","_wxWindowID",0},
11014 { "_wxPrintQuality","_uint",0},
11015 { "_wxPrintQuality","_EBool",0},
11016 { "_wxPrintQuality","_size_t",0},
11017 { "_wxPrintQuality","_time_t",0},
11018 { "_byte","_unsigned_char",0},
11019 { "_long","_unsigned_long",0},
11020 { "_long","_signed_long",0},
11021 { "_size_t","_wxCoord",0},
11022 { "_size_t","_wxPrintQuality",0},
11023 { "_size_t","_time_t",0},
11024 { "_size_t","_unsigned_int",0},
11025 { "_size_t","_int",0},
11026 { "_size_t","_wxWindowID",0},
11027 { "_size_t","_uint",0},
11028 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11029 { "_uint","_wxCoord",0},
11030 { "_uint","_wxPrintQuality",0},
11031 { "_uint","_time_t",0},
11032 { "_uint","_size_t",0},
11033 { "_uint","_unsigned_int",0},
11034 { "_uint","_int",0},
11035 { "_uint","_wxWindowID",0},
11036 { "_wxChar","_char",0},
11037 { "_char","_wxChar",0},
11038 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11039 { "_EBool","_wxCoord",0},
11040 { "_EBool","_wxPrintQuality",0},
11041 { "_EBool","_signed_int",0},
11042 { "_EBool","_int",0},
11043 { "_EBool","_wxWindowID",0},
11044 { "_unsigned_long","_long",0},
11045 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11046 { "_signed_int","_wxCoord",0},
11047 { "_signed_int","_wxPrintQuality",0},
11048 { "_signed_int","_EBool",0},
11049 { "_signed_int","_wxWindowID",0},
11050 { "_signed_int","_int",0},
11051 { "_WXTYPE","_short",0},
11052 { "_WXTYPE","_signed_short",0},
11053 { "_WXTYPE","_unsigned_short",0},
11054 { "_unsigned_short","_WXTYPE",0},
11055 { "_unsigned_short","_short",0},
11056 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11057 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11058 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11059 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11060 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11061 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11062 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11063 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11064 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11065 { "_signed_short","_WXTYPE",0},
11066 { "_signed_short","_short",0},
11067 { "_unsigned_char","_byte",0},
11068 { "_unsigned_int","_wxCoord",0},
11069 { "_unsigned_int","_wxPrintQuality",0},
11070 { "_unsigned_int","_time_t",0},
11071 { "_unsigned_int","_size_t",0},
11072 { "_unsigned_int","_uint",0},
11073 { "_unsigned_int","_wxWindowID",0},
11074 { "_unsigned_int","_int",0},
11075 { "_short","_WXTYPE",0},
11076 { "_short","_unsigned_short",0},
11077 { "_short","_signed_short",0},
11078 { "_wxWindowID","_wxCoord",0},
11079 { "_wxWindowID","_wxPrintQuality",0},
11080 { "_wxWindowID","_time_t",0},
11081 { "_wxWindowID","_size_t",0},
11082 { "_wxWindowID","_EBool",0},
11083 { "_wxWindowID","_uint",0},
11084 { "_wxWindowID","_int",0},
11085 { "_wxWindowID","_signed_int",0},
11086 { "_wxWindowID","_unsigned_int",0},
11087 { "_int","_wxCoord",0},
11088 { "_int","_wxPrintQuality",0},
11089 { "_int","_time_t",0},
11090 { "_int","_size_t",0},
11091 { "_int","_EBool",0},
11092 { "_int","_uint",0},
11093 { "_int","_wxWindowID",0},
11094 { "_int","_unsigned_int",0},
11095 { "_int","_signed_int",0},
11096 { "_time_t","_wxCoord",0},
11097 { "_time_t","_wxPrintQuality",0},
11098 { "_time_t","_unsigned_int",0},
11099 { "_time_t","_int",0},
11100 { "_time_t","_wxWindowID",0},
11101 { "_time_t","_uint",0},
11102 { "_time_t","_size_t",0},
11103 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11104 { "_wxCoord","_int",0},
11105 { "_wxCoord","_signed_int",0},
11106 { "_wxCoord","_unsigned_int",0},
11107 { "_wxCoord","_wxWindowID",0},
11108 { "_wxCoord","_uint",0},
11109 { "_wxCoord","_EBool",0},
11110 { "_wxCoord","_size_t",0},
11111 { "_wxCoord","_time_t",0},
11112 { "_wxCoord","_wxPrintQuality",0},
11113 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11114 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11115 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11116 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11117 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11118 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11119 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11120 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11121 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11122 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11125 static PyObject
*SWIG_globals
;
11129 SWIGEXPORT(void) initwindowsc() {
11131 SWIG_globals
= SWIG_newvarlink();
11132 m
= Py_InitModule("windowsc", windowscMethods
);
11133 d
= PyModule_GetDict(m
);
11136 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11137 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);