2 * FILE : src/mac/windows.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 // Put some wx default wxChar* values into wxStrings.
90 DECLARE_DEF_STRING(PanelNameStr
);
91 static const wxString
wxPyEmptyString(wxT(""));
93 class wxPyValidator
: public wxValidator
{
94 DECLARE_DYNAMIC_CLASS(wxPyValidator
);
102 wxObject
* Clone() const {
103 wxPyValidator
* ptr
= NULL
;
104 wxPyValidator
* self
= (wxPyValidator
*)this;
106 wxPyBeginBlockThreads();
107 if (self
->m_myInst
.findCallback("Clone")) {
109 ro
= self
->m_myInst
.callCallbackObj(Py_BuildValue("()"));
111 SWIG_GetPtrObj(ro
, (void **)&ptr
, "_wxPyValidator_p");
115 wxPyEndBlockThreads();
117 // This is very dangerous!!! But is the only way I could find
118 // to squash a memory leak. Currently it is okay, but if the
119 // validator architecture in wxWindows ever changes, problems
126 DEC_PYCALLBACK_BOOL_WXWIN(Validate
);
127 DEC_PYCALLBACK_BOOL_(TransferToWindow
);
128 DEC_PYCALLBACK_BOOL_(TransferFromWindow
);
133 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
134 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
135 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
137 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
142 static void *SwigwxEvtHandlerTowxObject(void *ptr
) {
145 src
= (wxEvtHandler
*) ptr
;
146 dest
= (wxObject
*) src
;
147 return (void *) dest
;
150 #define new_wxEvtHandler() (new wxEvtHandler())
151 static PyObject
*_wrap_new_wxEvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
153 wxEvtHandler
* _result
;
154 char *_kwnames
[] = { NULL
};
158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxEvtHandler",_kwnames
))
161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
162 _result
= (wxEvtHandler
*)new_wxEvtHandler();
164 wxPyEndAllowThreads(__tstate
);
165 if (PyErr_Occurred()) return NULL
;
167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEvtHandler_p");
168 _resultobj
= Py_BuildValue("s",_ptemp
);
171 _resultobj
= Py_None
;
176 #define wxEvtHandler_ProcessEvent(_swigobj,_swigarg0) (_swigobj->ProcessEvent(_swigarg0))
177 static PyObject
*_wrap_wxEvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
180 wxEvtHandler
* _arg0
;
182 PyObject
* _argo0
= 0;
183 PyObject
* _argo1
= 0;
184 char *_kwnames
[] = { "self","event", NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_ProcessEvent",_kwnames
,&_argo0
,&_argo1
))
190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_ProcessEvent. Expected _wxEvtHandler_p.");
197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_ProcessEvent. Expected _wxEvent_p.");
204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
205 _result
= (bool )wxEvtHandler_ProcessEvent(_arg0
,*_arg1
);
207 wxPyEndAllowThreads(__tstate
);
208 if (PyErr_Occurred()) return NULL
;
209 } _resultobj
= Py_BuildValue("i",_result
);
213 #define wxEvtHandler_AddPendingEvent(_swigobj,_swigarg0) (_swigobj->AddPendingEvent(_swigarg0))
214 static PyObject
*_wrap_wxEvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
215 PyObject
* _resultobj
;
216 wxEvtHandler
* _arg0
;
218 PyObject
* _argo0
= 0;
219 PyObject
* _argo1
= 0;
220 char *_kwnames
[] = { "self","event", NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_AddPendingEvent",_kwnames
,&_argo0
,&_argo1
))
226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_AddPendingEvent. Expected _wxEvtHandler_p.");
233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_AddPendingEvent. Expected _wxEvent_p.");
240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
241 wxEvtHandler_AddPendingEvent(_arg0
,*_arg1
);
243 wxPyEndAllowThreads(__tstate
);
244 if (PyErr_Occurred()) return NULL
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
250 #define wxEvtHandler_GetEvtHandlerEnabled(_swigobj) (_swigobj->GetEvtHandlerEnabled())
251 static PyObject
*_wrap_wxEvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
254 wxEvtHandler
* _arg0
;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetEvtHandlerEnabled",_kwnames
,&_argo0
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 _result
= (bool )wxEvtHandler_GetEvtHandlerEnabled(_arg0
);
272 wxPyEndAllowThreads(__tstate
);
273 if (PyErr_Occurred()) return NULL
;
274 } _resultobj
= Py_BuildValue("i",_result
);
278 #define wxEvtHandler_SetEvtHandlerEnabled(_swigobj,_swigarg0) (_swigobj->SetEvtHandlerEnabled(_swigarg0))
279 static PyObject
*_wrap_wxEvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
281 wxEvtHandler
* _arg0
;
283 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self","enabled", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxEvtHandler_SetEvtHandlerEnabled",_kwnames
,&_argo0
,&tempbool1
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetEvtHandlerEnabled. Expected _wxEvtHandler_p.");
297 _arg1
= (bool ) tempbool1
;
299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
300 wxEvtHandler_SetEvtHandlerEnabled(_arg0
,_arg1
);
302 wxPyEndAllowThreads(__tstate
);
303 if (PyErr_Occurred()) return NULL
;
304 } Py_INCREF(Py_None
);
305 _resultobj
= Py_None
;
309 #define wxEvtHandler_GetNextHandler(_swigobj) (_swigobj->GetNextHandler())
310 static PyObject
*_wrap_wxEvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxEvtHandler
* _result
;
313 wxEvtHandler
* _arg0
;
314 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetNextHandler",_kwnames
,&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetNextHandler. Expected _wxEvtHandler_p.");
328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
329 _result
= (wxEvtHandler
*)wxEvtHandler_GetNextHandler(_arg0
);
331 wxPyEndAllowThreads(__tstate
);
332 if (PyErr_Occurred()) return NULL
;
333 }{ _resultobj
= wxPyMake_wxObject(_result
); }
337 #define wxEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler())
338 static PyObject
*_wrap_wxEvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
340 wxEvtHandler
* _result
;
341 wxEvtHandler
* _arg0
;
342 PyObject
* _argo0
= 0;
343 char *_kwnames
[] = { "self", NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEvtHandler_GetPreviousHandler",_kwnames
,&_argo0
))
349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_GetPreviousHandler. Expected _wxEvtHandler_p.");
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 _result
= (wxEvtHandler
*)wxEvtHandler_GetPreviousHandler(_arg0
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
361 }{ _resultobj
= wxPyMake_wxObject(_result
); }
365 #define wxEvtHandler_SetNextHandler(_swigobj,_swigarg0) (_swigobj->SetNextHandler(_swigarg0))
366 static PyObject
*_wrap_wxEvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
368 wxEvtHandler
* _arg0
;
369 wxEvtHandler
* _arg1
;
370 PyObject
* _argo0
= 0;
371 PyObject
* _argo1
= 0;
372 char *_kwnames
[] = { "self","handler", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetNextHandler",_kwnames
,&_argo0
,&_argo1
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetNextHandler. Expected _wxEvtHandler_p.");
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
393 wxEvtHandler_SetNextHandler(_arg0
,_arg1
);
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
397 } Py_INCREF(Py_None
);
398 _resultobj
= Py_None
;
402 #define wxEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0))
403 static PyObject
*_wrap_wxEvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
405 wxEvtHandler
* _arg0
;
406 wxEvtHandler
* _arg1
;
407 PyObject
* _argo0
= 0;
408 PyObject
* _argo1
= 0;
409 char *_kwnames
[] = { "self","handler", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler_SetPreviousHandler",_kwnames
,&_argo0
,&_argo1
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxEvtHandler_SetPreviousHandler. Expected _wxEvtHandler_p.");
429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
430 wxEvtHandler_SetPreviousHandler(_arg0
,_arg1
);
432 wxPyEndAllowThreads(__tstate
);
433 if (PyErr_Occurred()) return NULL
;
434 } Py_INCREF(Py_None
);
435 _resultobj
= Py_None
;
439 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
* func
) {
440 if (PyCallable_Check(func
)) {
441 self
->Connect(id
, lastId
, eventType
,
442 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
443 new wxPyCallback(func
));
445 else if (func
== Py_None
) {
446 self
->Disconnect(id
, lastId
, eventType
,
447 (wxObjectEventFunction
)
448 &wxPyCallback::EventThunker
);
451 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
454 static PyObject
*_wrap_wxEvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
455 PyObject
* _resultobj
;
456 wxEvtHandler
* _arg0
;
461 PyObject
* _argo0
= 0;
462 PyObject
* _obj4
= 0;
463 char *_kwnames
[] = { "self","id","lastId","eventType","func", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiiO:wxEvtHandler_Connect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_obj4
))
469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Connect. Expected _wxEvtHandler_p.");
479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
480 wxEvtHandler_Connect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
484 } Py_INCREF(Py_None
);
485 _resultobj
= Py_None
;
489 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
) {
490 return self
->Disconnect(id
, lastId
, eventType
,
491 (wxObjectEventFunction
)
492 &wxPyCallback::EventThunker
);
494 static PyObject
*_wrap_wxEvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
495 PyObject
* _resultobj
;
497 wxEvtHandler
* _arg0
;
499 int _arg2
= (int ) -1;
500 wxEventType _arg3
= (wxEventType
) wxEVT_NULL
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self","id","lastId","eventType", NULL
};
505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|ii:wxEvtHandler_Disconnect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler_Disconnect. Expected _wxEvtHandler_p.");
515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
516 _result
= (bool )wxEvtHandler_Disconnect(_arg0
,_arg1
,_arg2
,_arg3
);
518 wxPyEndAllowThreads(__tstate
);
519 if (PyErr_Occurred()) return NULL
;
520 } _resultobj
= Py_BuildValue("i",_result
);
524 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
* _self
) {
525 self
->SetClientObject(new wxPyOORClientData(_self
));
527 static PyObject
*_wrap_wxEvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
529 wxEvtHandler
* _arg0
;
531 PyObject
* _argo0
= 0;
532 PyObject
* _obj1
= 0;
533 char *_kwnames
[] = { "self","_self", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEvtHandler__setOORInfo",_kwnames
,&_argo0
,&_obj1
))
539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEvtHandler__setOORInfo. Expected _wxEvtHandler_p.");
549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
550 wxEvtHandler__setOORInfo(_arg0
,_arg1
);
552 wxPyEndAllowThreads(__tstate
);
553 if (PyErr_Occurred()) return NULL
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 static void *SwigwxValidatorTowxEvtHandler(void *ptr
) {
562 src
= (wxValidator
*) ptr
;
563 dest
= (wxEvtHandler
*) src
;
564 return (void *) dest
;
567 static void *SwigwxValidatorTowxObject(void *ptr
) {
570 src
= (wxValidator
*) ptr
;
571 dest
= (wxObject
*) src
;
572 return (void *) dest
;
575 #define new_wxValidator() (new wxValidator())
576 static PyObject
*_wrap_new_wxValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
578 wxValidator
* _result
;
579 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxValidator",_kwnames
))
586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
587 _result
= (wxValidator
*)new_wxValidator();
589 wxPyEndAllowThreads(__tstate
);
590 if (PyErr_Occurred()) return NULL
;
592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxValidator_p");
593 _resultobj
= Py_BuildValue("s",_ptemp
);
596 _resultobj
= Py_None
;
601 #define wxValidator_Clone(_swigobj) (_swigobj->Clone())
602 static PyObject
*_wrap_wxValidator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 PyObject
* _resultobj
;
604 wxValidator
* _result
;
606 PyObject
* _argo0
= 0;
607 char *_kwnames
[] = { "self", NULL
};
610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_Clone",_kwnames
,&_argo0
))
613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_Clone. Expected _wxValidator_p.");
620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
621 _result
= (wxValidator
*)wxValidator_Clone(_arg0
);
623 wxPyEndAllowThreads(__tstate
);
624 if (PyErr_Occurred()) return NULL
;
625 }{ _resultobj
= wxPyMake_wxObject(_result
); }
629 #define wxValidator_GetWindow(_swigobj) (_swigobj->GetWindow())
630 static PyObject
*_wrap_wxValidator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxValidator_GetWindow",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_GetWindow. Expected _wxValidator_p.");
648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
649 _result
= (wxWindow
*)wxValidator_GetWindow(_arg0
);
651 wxPyEndAllowThreads(__tstate
);
652 if (PyErr_Occurred()) return NULL
;
653 }{ _resultobj
= wxPyMake_wxObject(_result
); }
657 #define wxValidator_SetWindow(_swigobj,_swigarg0) (_swigobj->SetWindow(_swigarg0))
658 static PyObject
*_wrap_wxValidator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
662 PyObject
* _argo0
= 0;
663 PyObject
* _argo1
= 0;
664 char *_kwnames
[] = { "self","window", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxValidator_SetWindow",_kwnames
,&_argo0
,&_argo1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxValidator_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxValidator_SetWindow. Expected _wxValidator_p.");
677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxValidator_SetWindow. Expected _wxWindow_p.");
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 wxValidator_SetWindow(_arg0
,_arg1
);
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
689 } Py_INCREF(Py_None
);
690 _resultobj
= Py_None
;
694 static PyObject
*_wrap_wxValidator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 char *_kwnames
[] = { NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxValidator_IsSilent",_kwnames
))
703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
704 _result
= (bool )wxValidator::IsSilent();
706 wxPyEndAllowThreads(__tstate
);
707 if (PyErr_Occurred()) return NULL
;
708 } _resultobj
= Py_BuildValue("i",_result
);
712 static PyObject
*_wrap_wxValidator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
714 int _arg0
= (int ) TRUE
;
715 char *_kwnames
[] = { "doIt", NULL
};
718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxValidator_SetBellOnError",_kwnames
,&_arg0
))
721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
722 wxValidator::SetBellOnError(_arg0
);
724 wxPyEndAllowThreads(__tstate
);
725 if (PyErr_Occurred()) return NULL
;
726 } Py_INCREF(Py_None
);
727 _resultobj
= Py_None
;
731 static void *SwigwxPyValidatorTowxValidator(void *ptr
) {
734 src
= (wxPyValidator
*) ptr
;
735 dest
= (wxValidator
*) src
;
736 return (void *) dest
;
739 static void *SwigwxPyValidatorTowxEvtHandler(void *ptr
) {
742 src
= (wxPyValidator
*) ptr
;
743 dest
= (wxEvtHandler
*) src
;
744 return (void *) dest
;
747 static void *SwigwxPyValidatorTowxObject(void *ptr
) {
750 src
= (wxPyValidator
*) ptr
;
751 dest
= (wxObject
*) src
;
752 return (void *) dest
;
755 #define new_wxPyValidator() (new wxPyValidator())
756 static PyObject
*_wrap_new_wxPyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxPyValidator
* _result
;
759 char *_kwnames
[] = { NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyValidator",_kwnames
))
766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
767 _result
= (wxPyValidator
*)new_wxPyValidator();
769 wxPyEndAllowThreads(__tstate
);
770 if (PyErr_Occurred()) return NULL
;
772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyValidator_p");
773 _resultobj
= Py_BuildValue("s",_ptemp
);
776 _resultobj
= Py_None
;
781 #define wxPyValidator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1,_swigarg2))
782 static PyObject
*_wrap_wxPyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
784 wxPyValidator
* _arg0
;
787 int _arg3
= (int ) TRUE
;
788 PyObject
* _argo0
= 0;
789 PyObject
* _obj1
= 0;
790 PyObject
* _obj2
= 0;
791 char *_kwnames
[] = { "self","self","_class","incref", NULL
};
794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxPyValidator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&_arg3
))
797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyValidator_p")) {
799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyValidator__setCallbackInfo. Expected _wxPyValidator_p.");
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 wxPyValidator__setCallbackInfo(_arg0
,_arg1
,_arg2
,_arg3
);
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
815 } Py_INCREF(Py_None
);
816 _resultobj
= Py_None
;
820 static void *SwigwxWindowTowxEvtHandler(void *ptr
) {
823 src
= (wxWindow
*) ptr
;
824 dest
= (wxEvtHandler
*) src
;
825 return (void *) dest
;
828 static void *SwigwxWindowTowxObject(void *ptr
) {
831 src
= (wxWindow
*) ptr
;
832 dest
= (wxObject
*) src
;
833 return (void *) dest
;
836 #define new_wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
837 static PyObject
*_wrap_new_wxWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
842 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
843 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
844 long _arg4
= (long ) 0;
845 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
846 PyObject
* _argo0
= 0;
848 PyObject
* _obj2
= 0;
850 PyObject
* _obj3
= 0;
851 PyObject
* _obj5
= 0;
852 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindow. Expected _wxWindow_p.");
868 if (! wxPoint_helper(_obj2
, &_arg2
))
874 if (! wxSize_helper(_obj3
, &_arg3
))
879 _arg5
= wxString_in_helper(_obj5
);
884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
885 _result
= (wxWindow
*)new_wxWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
887 wxPyEndAllowThreads(__tstate
);
888 if (PyErr_Occurred()) return NULL
;
890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
891 _resultobj
= Py_BuildValue("s",_ptemp
);
894 _resultobj
= Py_None
;
903 #define new_wxPreWindow() (new wxWindow())
904 static PyObject
*_wrap_new_wxPreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 char *_kwnames
[] = { NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreWindow",_kwnames
))
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= (wxWindow
*)new_wxPreWindow();
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
924 _resultobj
= Py_None
;
929 #define wxWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
930 static PyObject
*_wrap_wxWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
936 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
937 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
938 long _arg5
= (long ) 0;
939 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
943 PyObject
* _obj3
= 0;
945 PyObject
* _obj4
= 0;
946 PyObject
* _obj6
= 0;
947 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Create. Expected _wxWindow_p.");
960 if (_argo1
== Py_None
) { _arg1
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Create. Expected _wxWindow_p.");
969 if (! wxPoint_helper(_obj3
, &_arg3
))
975 if (! wxSize_helper(_obj4
, &_arg4
))
980 _arg6
= wxString_in_helper(_obj6
);
985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
986 _result
= (bool )wxWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
988 wxPyEndAllowThreads(__tstate
);
989 if (PyErr_Occurred()) return NULL
;
990 } _resultobj
= Py_BuildValue("i",_result
);
998 #define wxWindow_Center(_swigobj,_swigarg0) (_swigobj->Center(_swigarg0))
999 static PyObject
*_wrap_wxWindow_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 int _arg1
= (int ) wxBOTH
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self","direction", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Center",_kwnames
,&_argo0
,&_arg1
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Center. Expected _wxWindow_p.");
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 wxWindow_Center(_arg0
,_arg1
);
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) return NULL
;
1022 } Py_INCREF(Py_None
);
1023 _resultobj
= Py_None
;
1027 #define wxWindow_Centre(_swigobj,_swigarg0) (_swigobj->Centre(_swigarg0))
1028 static PyObject
*_wrap_wxWindow_Centre(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1029 PyObject
* _resultobj
;
1031 int _arg1
= (int ) wxBOTH
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "self","direction", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Centre",_kwnames
,&_argo0
,&_arg1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Centre. Expected _wxWindow_p.");
1046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1047 wxWindow_Centre(_arg0
,_arg1
);
1049 wxPyEndAllowThreads(__tstate
);
1050 if (PyErr_Occurred()) return NULL
;
1051 } Py_INCREF(Py_None
);
1052 _resultobj
= Py_None
;
1056 #define wxWindow_CentreOnParent(_swigobj,_swigarg0) (_swigobj->CentreOnParent(_swigarg0))
1057 static PyObject
*_wrap_wxWindow_CentreOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 int _arg1
= (int ) wxBOTH
;
1061 PyObject
* _argo0
= 0;
1062 char *_kwnames
[] = { "self","direction", NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnParent",_kwnames
,&_argo0
,&_arg1
))
1068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnParent. Expected _wxWindow_p.");
1075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1076 wxWindow_CentreOnParent(_arg0
,_arg1
);
1078 wxPyEndAllowThreads(__tstate
);
1079 if (PyErr_Occurred()) return NULL
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1085 #define wxWindow_CenterOnParent(_swigobj,_swigarg0) (_swigobj->CenterOnParent(_swigarg0))
1086 static PyObject
*_wrap_wxWindow_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1089 int _arg1
= (int ) wxBOTH
;
1090 PyObject
* _argo0
= 0;
1091 char *_kwnames
[] = { "self","direction", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnParent",_kwnames
,&_argo0
,&_arg1
))
1097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnParent. Expected _wxWindow_p.");
1104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1105 wxWindow_CenterOnParent(_arg0
,_arg1
);
1107 wxPyEndAllowThreads(__tstate
);
1108 if (PyErr_Occurred()) return NULL
;
1109 } Py_INCREF(Py_None
);
1110 _resultobj
= Py_None
;
1114 #define wxWindow_CentreOnScreen(_swigobj,_swigarg0) (_swigobj->CentreOnScreen(_swigarg0))
1115 static PyObject
*_wrap_wxWindow_CentreOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 int _arg1
= (int ) wxBOTH
;
1119 PyObject
* _argo0
= 0;
1120 char *_kwnames
[] = { "self","direction", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CentreOnScreen",_kwnames
,&_argo0
,&_arg1
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CentreOnScreen. Expected _wxWindow_p.");
1133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1134 wxWindow_CentreOnScreen(_arg0
,_arg1
);
1136 wxPyEndAllowThreads(__tstate
);
1137 if (PyErr_Occurred()) return NULL
;
1138 } Py_INCREF(Py_None
);
1139 _resultobj
= Py_None
;
1143 #define wxWindow_CenterOnScreen(_swigobj,_swigarg0) (_swigobj->CenterOnScreen(_swigarg0))
1144 static PyObject
*_wrap_wxWindow_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
* _resultobj
;
1147 int _arg1
= (int ) wxBOTH
;
1148 PyObject
* _argo0
= 0;
1149 char *_kwnames
[] = { "self","direction", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_CenterOnScreen",_kwnames
,&_argo0
,&_arg1
))
1155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CenterOnScreen. Expected _wxWindow_p.");
1162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1163 wxWindow_CenterOnScreen(_arg0
,_arg1
);
1165 wxPyEndAllowThreads(__tstate
);
1166 if (PyErr_Occurred()) return NULL
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1172 #define wxWindow_Clear(_swigobj) (_swigobj->Clear())
1173 static PyObject
*_wrap_wxWindow_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "self", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Clear",_kwnames
,&_argo0
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Clear. Expected _wxWindow_p.");
1190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1191 wxWindow_Clear(_arg0
);
1193 wxPyEndAllowThreads(__tstate
);
1194 if (PyErr_Occurred()) return NULL
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxWindow_ClientToScreenXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ClientToScreen(_swigarg0,_swigarg1))
1201 static PyObject
*_wrap_wxWindow_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1206 PyObject
* _argo0
= 0;
1208 PyObject
* _obj1
= 0;
1210 PyObject
* _obj2
= 0;
1211 char *_kwnames
[] = { "self","x","y", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ClientToScreenXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreenXY. Expected _wxWindow_p.");
1224 temp
= (int) PyInt_AsLong(_obj1
);
1228 temp0
= (int) PyInt_AsLong(_obj2
);
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 wxWindow_ClientToScreenXY(_arg0
,_arg1
,_arg2
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) return NULL
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1241 o
= PyInt_FromLong((long) (*_arg1
));
1242 _resultobj
= t_output_helper(_resultobj
, o
);
1246 o
= PyInt_FromLong((long) (*_arg2
));
1247 _resultobj
= t_output_helper(_resultobj
, o
);
1252 #define wxWindow_ClientToScreen(_swigobj,_swigarg0) (_swigobj->ClientToScreen(_swigarg0))
1253 static PyObject
*_wrap_wxWindow_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1258 PyObject
* _argo0
= 0;
1260 PyObject
* _obj1
= 0;
1261 char *_kwnames
[] = { "self","pt", NULL
};
1265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ClientToScreen",_kwnames
,&_argo0
,&_obj1
))
1268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ClientToScreen. Expected _wxWindow_p.");
1276 if (! wxPoint_helper(_obj1
, &_arg1
))
1280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1281 _result
= new wxPoint (wxWindow_ClientToScreen(_arg0
,*_arg1
));
1283 wxPyEndAllowThreads(__tstate
);
1284 if (PyErr_Occurred()) return NULL
;
1285 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1286 _resultobj
= Py_BuildValue("s",_ptemp
);
1290 #define wxWindow_Close(_swigobj,_swigarg0) (_swigobj->Close(_swigarg0))
1291 static PyObject
*_wrap_wxWindow_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1295 int _arg1
= (int ) FALSE
;
1296 PyObject
* _argo0
= 0;
1297 char *_kwnames
[] = { "self","force", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Close",_kwnames
,&_argo0
,&_arg1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Close. Expected _wxWindow_p.");
1310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1311 _result
= (bool )wxWindow_Close(_arg0
,_arg1
);
1313 wxPyEndAllowThreads(__tstate
);
1314 if (PyErr_Occurred()) return NULL
;
1315 } _resultobj
= Py_BuildValue("i",_result
);
1319 #define wxWindow_Destroy(_swigobj) (_swigobj->Destroy())
1320 static PyObject
*_wrap_wxWindow_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1324 PyObject
* _argo0
= 0;
1325 char *_kwnames
[] = { "self", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Destroy",_kwnames
,&_argo0
))
1331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Destroy. Expected _wxWindow_p.");
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (bool )wxWindow_Destroy(_arg0
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("i",_result
);
1347 #define wxWindow_DestroyChildren(_swigobj) (_swigobj->DestroyChildren())
1348 static PyObject
*_wrap_wxWindow_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_DestroyChildren",_kwnames
,&_argo0
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_DestroyChildren. Expected _wxWindow_p.");
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxWindow_DestroyChildren(_arg0
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1375 #define wxWindow_IsBeingDeleted(_swigobj) (_swigobj->IsBeingDeleted())
1376 static PyObject
*_wrap_wxWindow_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1380 PyObject
* _argo0
= 0;
1381 char *_kwnames
[] = { "self", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsBeingDeleted",_kwnames
,&_argo0
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsBeingDeleted. Expected _wxWindow_p.");
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 _result
= (bool )wxWindow_IsBeingDeleted(_arg0
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1399 } _resultobj
= Py_BuildValue("i",_result
);
1403 #define wxWindow_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1404 static PyObject
*_wrap_wxWindow_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1408 PyObject
* _argo0
= 0;
1410 char *_kwnames
[] = { "self","enable", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_Enable",_kwnames
,&_argo0
,&tempbool1
))
1416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Enable. Expected _wxWindow_p.");
1422 _arg1
= (bool ) tempbool1
;
1424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1425 wxWindow_Enable(_arg0
,_arg1
);
1427 wxPyEndAllowThreads(__tstate
);
1428 if (PyErr_Occurred()) return NULL
;
1429 } Py_INCREF(Py_None
);
1430 _resultobj
= Py_None
;
1434 #define wxWindow_FindWindowById(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1435 static PyObject
*_wrap_wxWindow_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1440 PyObject
* _argo0
= 0;
1441 char *_kwnames
[] = { "self","id", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_FindWindowById",_kwnames
,&_argo0
,&_arg1
))
1447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowById. Expected _wxWindow_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (wxWindow
*)wxWindow_FindWindowById(_arg0
,_arg1
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1463 #define wxWindow_FindWindowByName(_swigobj,_swigarg0) (_swigobj->FindWindow(_swigarg0))
1464 static PyObject
*_wrap_wxWindow_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1469 PyObject
* _argo0
= 0;
1470 PyObject
* _obj1
= 0;
1471 char *_kwnames
[] = { "self","name", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_FindWindowByName",_kwnames
,&_argo0
,&_obj1
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_FindWindowByName. Expected _wxWindow_p.");
1484 _arg1
= wxString_in_helper(_obj1
);
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 _result
= (wxWindow
*)wxWindow_FindWindowByName(_arg0
,*_arg1
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1502 #define wxWindow_Fit(_swigobj) (_swigobj->Fit())
1503 static PyObject
*_wrap_wxWindow_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1506 PyObject
* _argo0
= 0;
1507 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Fit",_kwnames
,&_argo0
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Fit. Expected _wxWindow_p.");
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 wxWindow_Fit(_arg0
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) return NULL
;
1525 } Py_INCREF(Py_None
);
1526 _resultobj
= Py_None
;
1530 #define wxWindow_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
1531 static PyObject
*_wrap_wxWindow_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBackgroundColour",_kwnames
,&_argo0
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBackgroundColour. Expected _wxWindow_p.");
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= new wxColour (wxWindow_GetBackgroundColour(_arg0
));
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1556 _resultobj
= Py_BuildValue("s",_ptemp
);
1560 #define wxWindow_GetBorder(_swigobj) (_swigobj->GetBorder())
1561 static PyObject
*_wrap_wxWindow_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBorder",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBorder. Expected _wxWindow_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (wxBorder
)wxWindow_GetBorder(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 static PyObject
* wxWindow_GetChildren(wxWindow
*self
) {
1589 wxWindowList
& list
= self
->GetChildren();
1590 return wxPy_ConvertList(&list
, "wxWindow");
1592 static PyObject
*_wrap_wxWindow_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetChildren",_kwnames
,&_argo0
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetChildren. Expected _wxWindow_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (PyObject
*)wxWindow_GetChildren(_arg0
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1616 _resultobj
= _result
;
1621 #define wxWindow_GetCharHeight(_swigobj) (_swigobj->GetCharHeight())
1622 static PyObject
*_wrap_wxWindow_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharHeight",_kwnames
,&_argo0
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharHeight. Expected _wxWindow_p.");
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 _result
= (int )wxWindow_GetCharHeight(_arg0
);
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) return NULL
;
1645 } _resultobj
= Py_BuildValue("i",_result
);
1649 #define wxWindow_GetCharWidth(_swigobj) (_swigobj->GetCharWidth())
1650 static PyObject
*_wrap_wxWindow_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1655 char *_kwnames
[] = { "self", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCharWidth",_kwnames
,&_argo0
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCharWidth. Expected _wxWindow_p.");
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 _result
= (int )wxWindow_GetCharWidth(_arg0
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) return NULL
;
1673 } _resultobj
= Py_BuildValue("i",_result
);
1677 #define wxWindow_GetClientSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
1678 static PyObject
*_wrap_wxWindow_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1685 PyObject
* _argo0
= 0;
1686 char *_kwnames
[] = { "self", NULL
};
1695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSizeTuple",_kwnames
,&_argo0
))
1698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSizeTuple. Expected _wxWindow_p.");
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 wxWindow_GetClientSizeTuple(_arg0
,_arg1
,_arg2
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) return NULL
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1714 o
= PyInt_FromLong((long) (*_arg1
));
1715 _resultobj
= t_output_helper(_resultobj
, o
);
1719 o
= PyInt_FromLong((long) (*_arg2
));
1720 _resultobj
= t_output_helper(_resultobj
, o
);
1725 #define wxWindow_GetClientSize(_swigobj) (_swigobj->GetClientSize())
1726 static PyObject
*_wrap_wxWindow_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1730 PyObject
* _argo0
= 0;
1731 char *_kwnames
[] = { "self", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientSize",_kwnames
,&_argo0
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientSize. Expected _wxWindow_p.");
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 _result
= new wxSize (wxWindow_GetClientSize(_arg0
));
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1751 _resultobj
= Py_BuildValue("s",_ptemp
);
1755 #define wxWindow_GetClientAreaOrigin(_swigobj) (_swigobj->GetClientAreaOrigin())
1756 static PyObject
*_wrap_wxWindow_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1760 PyObject
* _argo0
= 0;
1761 char *_kwnames
[] = { "self", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientAreaOrigin",_kwnames
,&_argo0
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientAreaOrigin. Expected _wxWindow_p.");
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 _result
= new wxPoint (wxWindow_GetClientAreaOrigin(_arg0
));
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) return NULL
;
1780 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1781 _resultobj
= Py_BuildValue("s",_ptemp
);
1785 #define wxWindow_GetClientRect(_swigobj) (_swigobj->GetClientRect())
1786 static PyObject
*_wrap_wxWindow_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
* _resultobj
;
1790 PyObject
* _argo0
= 0;
1791 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetClientRect",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetClientRect. Expected _wxWindow_p.");
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= new wxRect (wxWindow_GetClientRect(_arg0
));
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1810 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1811 _resultobj
= Py_BuildValue("s",_ptemp
);
1815 #define wxWindow_GetConstraints(_swigobj) (_swigobj->GetConstraints())
1816 static PyObject
*_wrap_wxWindow_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1818 wxLayoutConstraints
* _result
;
1820 PyObject
* _argo0
= 0;
1821 char *_kwnames
[] = { "self", NULL
};
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetConstraints",_kwnames
,&_argo0
))
1828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetConstraints. Expected _wxWindow_p.");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 _result
= (wxLayoutConstraints
*)wxWindow_GetConstraints(_arg0
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
1842 _resultobj
= Py_BuildValue("s",_ptemp
);
1845 _resultobj
= Py_None
;
1850 #define wxWindow_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
1851 static PyObject
*_wrap_wxWindow_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxEvtHandler
* _result
;
1855 PyObject
* _argo0
= 0;
1856 char *_kwnames
[] = { "self", NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetEventHandler",_kwnames
,&_argo0
))
1862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetEventHandler. Expected _wxWindow_p.");
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 _result
= (wxEvtHandler
*)wxWindow_GetEventHandler(_arg0
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) return NULL
;
1874 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1878 #define wxWindow_GetFont(_swigobj) (_swigobj->GetFont())
1879 static PyObject
*_wrap_wxWindow_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1883 PyObject
* _argo0
= 0;
1884 char *_kwnames
[] = { "self", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetFont",_kwnames
,&_argo0
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFont. Expected _wxWindow_p.");
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 _result
= new wxFont (wxWindow_GetFont(_arg0
));
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1904 _resultobj
= Py_BuildValue("s",_ptemp
);
1908 #define wxWindow_GetForegroundColour(_swigobj) (_swigobj->GetForegroundColour())
1909 static PyObject
*_wrap_wxWindow_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1913 PyObject
* _argo0
= 0;
1914 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetForegroundColour",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetForegroundColour. Expected _wxWindow_p.");
1928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 _result
= new wxColour (wxWindow_GetForegroundColour(_arg0
));
1931 wxPyEndAllowThreads(__tstate
);
1932 if (PyErr_Occurred()) return NULL
;
1933 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1934 _resultobj
= Py_BuildValue("s",_ptemp
);
1938 #define wxWindow_GetGrandParent(_swigobj) (_swigobj->GetGrandParent())
1939 static PyObject
*_wrap_wxWindow_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1943 PyObject
* _argo0
= 0;
1944 char *_kwnames
[] = { "self", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetGrandParent",_kwnames
,&_argo0
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetGrandParent. Expected _wxWindow_p.");
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 _result
= (wxWindow
*)wxWindow_GetGrandParent(_arg0
);
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) return NULL
;
1962 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1966 static long wxWindow_GetHandle(wxWindow
*self
) {
1967 return wxPyGetWinHandle(self
); //(long)self->GetHandle();
1969 static PyObject
*_wrap_wxWindow_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHandle",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHandle. Expected _wxWindow_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= (long )wxWindow_GetHandle(_arg0
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1992 } _resultobj
= Py_BuildValue("l",_result
);
1996 #define wxWindow_GetId(_swigobj) (_swigobj->GetId())
1997 static PyObject
*_wrap_wxWindow_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetId",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetId. Expected _wxWindow_p.");
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 _result
= (int )wxWindow_GetId(_arg0
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) return NULL
;
2020 } _resultobj
= Py_BuildValue("i",_result
);
2024 #define wxWindow_GetLabel(_swigobj) (_swigobj->GetLabel())
2025 static PyObject
*_wrap_wxWindow_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2029 PyObject
* _argo0
= 0;
2030 char *_kwnames
[] = { "self", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetLabel",_kwnames
,&_argo0
))
2036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetLabel. Expected _wxWindow_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= new wxString (wxWindow_GetLabel(_arg0
));
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2050 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2052 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2061 #define wxWindow_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2062 static PyObject
*_wrap_wxWindow_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 PyObject
* _obj1
= 0;
2068 char *_kwnames
[] = { "self","label", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetLabel. Expected _wxWindow_p.");
2081 _arg1
= wxString_in_helper(_obj1
);
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 wxWindow_SetLabel(_arg0
,*_arg1
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2100 #define wxWindow_GetName(_swigobj) (_swigobj->GetName())
2101 static PyObject
*_wrap_wxWindow_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2105 PyObject
* _argo0
= 0;
2106 char *_kwnames
[] = { "self", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetName",_kwnames
,&_argo0
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetName. Expected _wxWindow_p.");
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 _result
= new wxString (wxWindow_GetName(_arg0
));
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) return NULL
;
2126 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2128 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2137 #define wxWindow_GetParent(_swigobj) (_swigobj->GetParent())
2138 static PyObject
*_wrap_wxWindow_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2142 PyObject
* _argo0
= 0;
2143 char *_kwnames
[] = { "self", NULL
};
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetParent",_kwnames
,&_argo0
))
2149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetParent. Expected _wxWindow_p.");
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 _result
= (wxWindow
*)wxWindow_GetParent(_arg0
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2165 #define wxWindow_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2166 static PyObject
*_wrap_wxWindow_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPositionTuple",_kwnames
,&_argo0
))
2186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPositionTuple. Expected _wxWindow_p.");
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 wxWindow_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) return NULL
;
2198 } Py_INCREF(Py_None
);
2199 _resultobj
= Py_None
;
2202 o
= PyInt_FromLong((long) (*_arg1
));
2203 _resultobj
= t_output_helper(_resultobj
, o
);
2207 o
= PyInt_FromLong((long) (*_arg2
));
2208 _resultobj
= t_output_helper(_resultobj
, o
);
2213 #define wxWindow_GetPosition(_swigobj) (_swigobj->GetPosition())
2214 static PyObject
*_wrap_wxWindow_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2218 PyObject
* _argo0
= 0;
2219 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetPosition",_kwnames
,&_argo0
))
2226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetPosition. Expected _wxWindow_p.");
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 _result
= new wxPoint (wxWindow_GetPosition(_arg0
));
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) return NULL
;
2238 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2239 _resultobj
= Py_BuildValue("s",_ptemp
);
2243 #define wxWindow_GetRect(_swigobj) (_swigobj->GetRect())
2244 static PyObject
*_wrap_wxWindow_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2248 PyObject
* _argo0
= 0;
2249 char *_kwnames
[] = { "self", NULL
};
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetRect",_kwnames
,&_argo0
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetRect. Expected _wxWindow_p.");
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 _result
= new wxRect (wxWindow_GetRect(_arg0
));
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) return NULL
;
2268 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2269 _resultobj
= Py_BuildValue("s",_ptemp
);
2273 #define wxWindow_GetScrollThumb(_swigobj,_swigarg0) (_swigobj->GetScrollThumb(_swigarg0))
2274 static PyObject
*_wrap_wxWindow_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2279 PyObject
* _argo0
= 0;
2280 char *_kwnames
[] = { "self","orientation", NULL
};
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollThumb",_kwnames
,&_argo0
,&_arg1
))
2286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollThumb. Expected _wxWindow_p.");
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 _result
= (int )wxWindow_GetScrollThumb(_arg0
,_arg1
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2298 } _resultobj
= Py_BuildValue("i",_result
);
2302 #define wxWindow_GetScrollPos(_swigobj,_swigarg0) (_swigobj->GetScrollPos(_swigarg0))
2303 static PyObject
*_wrap_wxWindow_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2308 PyObject
* _argo0
= 0;
2309 char *_kwnames
[] = { "self","orientation", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollPos",_kwnames
,&_argo0
,&_arg1
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollPos. Expected _wxWindow_p.");
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 _result
= (int )wxWindow_GetScrollPos(_arg0
,_arg1
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) return NULL
;
2327 } _resultobj
= Py_BuildValue("i",_result
);
2331 #define wxWindow_GetScrollRange(_swigobj,_swigarg0) (_swigobj->GetScrollRange(_swigarg0))
2332 static PyObject
*_wrap_wxWindow_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2337 PyObject
* _argo0
= 0;
2338 char *_kwnames
[] = { "self","orientation", NULL
};
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_GetScrollRange",_kwnames
,&_argo0
,&_arg1
))
2344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetScrollRange. Expected _wxWindow_p.");
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 _result
= (int )wxWindow_GetScrollRange(_arg0
,_arg1
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) return NULL
;
2356 } _resultobj
= Py_BuildValue("i",_result
);
2360 #define wxWindow_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2361 static PyObject
*_wrap_wxWindow_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
* _resultobj
;
2368 PyObject
* _argo0
= 0;
2369 char *_kwnames
[] = { "self", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizeTuple",_kwnames
,&_argo0
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizeTuple. Expected _wxWindow_p.");
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 wxWindow_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2397 o
= PyInt_FromLong((long) (*_arg1
));
2398 _resultobj
= t_output_helper(_resultobj
, o
);
2402 o
= PyInt_FromLong((long) (*_arg2
));
2403 _resultobj
= t_output_helper(_resultobj
, o
);
2408 #define wxWindow_GetSize(_swigobj) (_swigobj->GetSize())
2409 static PyObject
*_wrap_wxWindow_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSize",_kwnames
,&_argo0
))
2421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSize. Expected _wxWindow_p.");
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 _result
= new wxSize (wxWindow_GetSize(_arg0
));
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) return NULL
;
2433 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2434 _resultobj
= Py_BuildValue("s",_ptemp
);
2438 #define wxWindow_GetTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2))
2439 static PyObject
*_wrap_wxWindow_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
* _resultobj
;
2447 PyObject
* _argo0
= 0;
2448 PyObject
* _obj1
= 0;
2449 char *_kwnames
[] = { "self","string", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_GetTextExtent",_kwnames
,&_argo0
,&_obj1
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTextExtent. Expected _wxWindow_p.");
2468 _arg1
= wxString_in_helper(_obj1
);
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2474 wxWindow_GetTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
);
2476 wxPyEndAllowThreads(__tstate
);
2477 if (PyErr_Occurred()) return NULL
;
2478 } Py_INCREF(Py_None
);
2479 _resultobj
= Py_None
;
2482 o
= PyInt_FromLong((long) (*_arg2
));
2483 _resultobj
= t_output_helper(_resultobj
, o
);
2487 o
= PyInt_FromLong((long) (*_arg3
));
2488 _resultobj
= t_output_helper(_resultobj
, o
);
2497 #define wxWindow_GetFullTextExtent(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetTextExtent(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2498 static PyObject
*_wrap_wxWindow_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2510 wxFont
* _arg6
= (wxFont
*) NULL
;
2511 PyObject
* _argo0
= 0;
2512 PyObject
* _obj1
= 0;
2513 PyObject
* _argo6
= 0;
2514 char *_kwnames
[] = { "self","string","font", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxWindow_GetFullTextExtent",_kwnames
,&_argo0
,&_obj1
,&_argo6
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetFullTextExtent. Expected _wxWindow_p.");
2539 _arg1
= wxString_in_helper(_obj1
);
2544 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxFont_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxWindow_GetFullTextExtent. Expected _wxFont_p.");
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 wxWindow_GetFullTextExtent(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } Py_INCREF(Py_None
);
2557 _resultobj
= Py_None
;
2560 o
= PyInt_FromLong((long) (*_arg2
));
2561 _resultobj
= t_output_helper(_resultobj
, o
);
2565 o
= PyInt_FromLong((long) (*_arg3
));
2566 _resultobj
= t_output_helper(_resultobj
, o
);
2570 o
= PyInt_FromLong((long) (*_arg4
));
2571 _resultobj
= t_output_helper(_resultobj
, o
);
2575 o
= PyInt_FromLong((long) (*_arg5
));
2576 _resultobj
= t_output_helper(_resultobj
, o
);
2585 #define wxWindow_GetTitle(_swigobj) (_swigobj->GetTitle())
2586 static PyObject
*_wrap_wxWindow_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetTitle",_kwnames
,&_argo0
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetTitle. Expected _wxWindow_p.");
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 _result
= new wxString (wxWindow_GetTitle(_arg0
));
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2611 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2613 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2622 #define wxWindow_GetUpdateRegion(_swigobj) (_swigobj->GetUpdateRegion())
2623 static PyObject
*_wrap_wxWindow_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetUpdateRegion",_kwnames
,&_argo0
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetUpdateRegion. Expected _wxWindow_p.");
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 _result
= new wxRegion (wxWindow_GetUpdateRegion(_arg0
));
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) return NULL
;
2647 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRegion_p");
2648 _resultobj
= Py_BuildValue("s",_ptemp
);
2652 #define wxWindow_GetWindowStyleFlag(_swigobj) (_swigobj->GetWindowStyleFlag())
2653 static PyObject
*_wrap_wxWindow_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetWindowStyleFlag",_kwnames
,&_argo0
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetWindowStyleFlag. Expected _wxWindow_p.");
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 _result
= (long )wxWindow_GetWindowStyleFlag(_arg0
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) return NULL
;
2676 } _resultobj
= Py_BuildValue("l",_result
);
2680 #define wxWindow_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2681 static PyObject
*_wrap_wxWindow_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self","style", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyleFlag",_kwnames
,&_argo0
,&_arg1
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyleFlag. Expected _wxWindow_p.");
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 wxWindow_SetWindowStyleFlag(_arg0
,_arg1
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } Py_INCREF(Py_None
);
2705 _resultobj
= Py_None
;
2709 #define wxWindow_SetWindowStyle(_swigobj,_swigarg0) (_swigobj->SetWindowStyle(_swigarg0))
2710 static PyObject
*_wrap_wxWindow_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2714 PyObject
* _argo0
= 0;
2715 char *_kwnames
[] = { "self","style", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetWindowStyle",_kwnames
,&_argo0
,&_arg1
))
2721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetWindowStyle. Expected _wxWindow_p.");
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 wxWindow_SetWindowStyle(_arg0
,_arg1
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } Py_INCREF(Py_None
);
2734 _resultobj
= Py_None
;
2738 #define wxWindow_HasScrollbar(_swigobj,_swigarg0) (_swigobj->HasScrollbar(_swigarg0))
2739 static PyObject
*_wrap_wxWindow_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2740 PyObject
* _resultobj
;
2744 PyObject
* _argo0
= 0;
2745 char *_kwnames
[] = { "self","orient", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_HasScrollbar",_kwnames
,&_argo0
,&_arg1
))
2751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasScrollbar. Expected _wxWindow_p.");
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 _result
= (bool )wxWindow_HasScrollbar(_arg0
,_arg1
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxWindow_Hide(_swigobj) (_swigobj->Hide())
2768 static PyObject
*_wrap_wxWindow_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Hide",_kwnames
,&_argo0
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Hide. Expected _wxWindow_p.");
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (bool )wxWindow_Hide(_arg0
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxWindow_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
2796 static PyObject
*_wrap_wxWindow_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2803 PyObject
* _obj1
= 0;
2804 char *_kwnames
[] = { "self","pt", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_HitTest",_kwnames
,&_argo0
,&_obj1
))
2810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HitTest. Expected _wxWindow_p.");
2818 if (! wxPoint_helper(_obj1
, &_arg1
))
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 _result
= (wxHitTest
)wxWindow_HitTest(_arg0
,*_arg1
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) return NULL
;
2827 } _resultobj
= Py_BuildValue("i",_result
);
2831 #define wxWindow_InitDialog(_swigobj) (_swigobj->InitDialog())
2832 static PyObject
*_wrap_wxWindow_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
* _resultobj
;
2835 PyObject
* _argo0
= 0;
2836 char *_kwnames
[] = { "self", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_InitDialog",_kwnames
,&_argo0
))
2842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_InitDialog. Expected _wxWindow_p.");
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 wxWindow_InitDialog(_arg0
);
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) return NULL
;
2854 } Py_INCREF(Py_None
);
2855 _resultobj
= Py_None
;
2859 #define wxWindow_IsEnabled(_swigobj) (_swigobj->IsEnabled())
2860 static PyObject
*_wrap_wxWindow_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsEnabled",_kwnames
,&_argo0
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsEnabled. Expected _wxWindow_p.");
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 _result
= (bool )wxWindow_IsEnabled(_arg0
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2887 #define wxWindow_IsExposed(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->IsExposed(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2888 static PyObject
*_wrap_wxWindow_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2894 int _arg3
= (int ) 0;
2895 int _arg4
= (int ) 0;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_IsExposed",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposed. Expected _wxWindow_p.");
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 _result
= (bool )wxWindow_IsExposed(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) return NULL
;
2915 } _resultobj
= Py_BuildValue("i",_result
);
2919 #define wxWindow_IsExposedPoint(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2920 static PyObject
*_wrap_wxWindow_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2927 PyObject
* _obj1
= 0;
2928 char *_kwnames
[] = { "self","pt", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedPoint",_kwnames
,&_argo0
,&_obj1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedPoint. Expected _wxWindow_p.");
2942 if (! wxPoint_helper(_obj1
, &_arg1
))
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 _result
= (bool )wxWindow_IsExposedPoint(_arg0
,*_arg1
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) return NULL
;
2951 } _resultobj
= Py_BuildValue("i",_result
);
2955 #define wxWindow_IsExposedRect(_swigobj,_swigarg0) (_swigobj->IsExposed(_swigarg0))
2956 static PyObject
*_wrap_wxWindow_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2961 PyObject
* _argo0
= 0;
2963 PyObject
* _obj1
= 0;
2964 char *_kwnames
[] = { "self","rect", NULL
};
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_IsExposedRect",_kwnames
,&_argo0
,&_obj1
))
2970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsExposedRect. Expected _wxWindow_p.");
2978 if (! wxRect_helper(_obj1
, &_arg1
))
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 _result
= (bool )wxWindow_IsExposedRect(_arg0
,*_arg1
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) return NULL
;
2987 } _resultobj
= Py_BuildValue("i",_result
);
2991 #define wxWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
2992 static PyObject
*_wrap_wxWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2996 PyObject
* _argo0
= 0;
2997 char *_kwnames
[] = { "self", NULL
};
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsRetained",_kwnames
,&_argo0
))
3003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsRetained. Expected _wxWindow_p.");
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 _result
= (bool )wxWindow_IsRetained(_arg0
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } _resultobj
= Py_BuildValue("i",_result
);
3019 #define wxWindow_IsShown(_swigobj) (_swigobj->IsShown())
3020 static PyObject
*_wrap_wxWindow_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsShown",_kwnames
,&_argo0
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsShown. Expected _wxWindow_p.");
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (bool )wxWindow_IsShown(_arg0
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3047 #define wxWindow_IsTopLevel(_swigobj) (_swigobj->IsTopLevel())
3048 static PyObject
*_wrap_wxWindow_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3052 PyObject
* _argo0
= 0;
3053 char *_kwnames
[] = { "self", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_IsTopLevel",_kwnames
,&_argo0
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_IsTopLevel. Expected _wxWindow_p.");
3066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3067 _result
= (bool )wxWindow_IsTopLevel(_arg0
);
3069 wxPyEndAllowThreads(__tstate
);
3070 if (PyErr_Occurred()) return NULL
;
3071 } _resultobj
= Py_BuildValue("i",_result
);
3075 #define wxWindow_Layout(_swigobj) (_swigobj->Layout())
3076 static PyObject
*_wrap_wxWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3079 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Layout",_kwnames
,&_argo0
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Layout. Expected _wxWindow_p.");
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 wxWindow_Layout(_arg0
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) return NULL
;
3098 } Py_INCREF(Py_None
);
3099 _resultobj
= Py_None
;
3103 #define wxWindow_LoadFromResource(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromResource(_swigarg0,_swigarg1,_swigarg2))
3104 static PyObject
*_wrap_wxWindow_LoadFromResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3110 wxResourceTable
* _arg3
= (wxResourceTable
*) NULL
;
3111 PyObject
* _argo0
= 0;
3112 PyObject
* _argo1
= 0;
3113 PyObject
* _obj2
= 0;
3114 PyObject
* _argo3
= 0;
3115 char *_kwnames
[] = { "self","parent","resourceName","resourceTable", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxWindow_LoadFromResource",_kwnames
,&_argo0
,&_argo1
,&_obj2
,&_argo3
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_LoadFromResource. Expected _wxWindow_p.");
3135 _arg2
= wxString_in_helper(_obj2
);
3140 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxResourceTable_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxWindow_LoadFromResource. Expected _wxResourceTable_p.");
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 _result
= (bool )wxWindow_LoadFromResource(_arg0
,_arg1
,*_arg2
,_arg3
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } _resultobj
= Py_BuildValue("i",_result
);
3160 #define wxWindow_Lower(_swigobj) (_swigobj->Lower())
3161 static PyObject
*_wrap_wxWindow_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "self", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Lower",_kwnames
,&_argo0
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Lower. Expected _wxWindow_p.");
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 wxWindow_Lower(_arg0
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxWindow_MakeModal(_swigobj,_swigarg0) (_swigobj->MakeModal(_swigarg0))
3189 static PyObject
*_wrap_wxWindow_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3192 bool _arg1
= (bool ) TRUE
;
3193 PyObject
* _argo0
= 0;
3194 int tempbool1
= (int) TRUE
;
3195 char *_kwnames
[] = { "self","flag", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_MakeModal",_kwnames
,&_argo0
,&tempbool1
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MakeModal. Expected _wxWindow_p.");
3207 _arg1
= (bool ) tempbool1
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 wxWindow_MakeModal(_arg0
,_arg1
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } Py_INCREF(Py_None
);
3215 _resultobj
= Py_None
;
3219 #define wxWindow_MoveXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2))
3220 static PyObject
*_wrap_wxWindow_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3225 int _arg3
= (int ) wxSIZE_USE_EXISTING
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self","x","y","flags", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_MoveXY. Expected _wxWindow_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxWindow_MoveXY(_arg0
,_arg1
,_arg2
,_arg3
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxWindow_Move(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3251 static PyObject
*_wrap_wxWindow_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3255 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
3256 PyObject
* _argo0
= 0;
3258 PyObject
* _obj1
= 0;
3259 char *_kwnames
[] = { "self","point","flags", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_Move",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Move. Expected _wxWindow_p.");
3273 if (! wxPoint_helper(_obj1
, &_arg1
))
3277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3278 wxWindow_Move(_arg0
,*_arg1
,_arg2
);
3280 wxPyEndAllowThreads(__tstate
);
3281 if (PyErr_Occurred()) return NULL
;
3282 } Py_INCREF(Py_None
);
3283 _resultobj
= Py_None
;
3287 #define wxWindow_PopEventHandler(_swigobj,_swigarg0) (_swigobj->PopEventHandler(_swigarg0))
3288 static PyObject
*_wrap_wxWindow_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxEvtHandler
* _result
;
3292 bool _arg1
= (bool ) FALSE
;
3293 PyObject
* _argo0
= 0;
3294 int tempbool1
= (int) FALSE
;
3295 char *_kwnames
[] = { "self","deleteHandler", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_PopEventHandler",_kwnames
,&_argo0
,&tempbool1
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopEventHandler. Expected _wxWindow_p.");
3307 _arg1
= (bool ) tempbool1
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 _result
= (wxEvtHandler
*)wxWindow_PopEventHandler(_arg0
,_arg1
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) return NULL
;
3314 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3318 #define wxWindow_PushEventHandler(_swigobj,_swigarg0) (_swigobj->PushEventHandler(_swigarg0))
3319 static PyObject
*_wrap_wxWindow_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3322 wxEvtHandler
* _arg1
;
3323 PyObject
* _argo0
= 0;
3324 PyObject
* _argo1
= 0;
3325 char *_kwnames
[] = { "self","handler", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_PushEventHandler",_kwnames
,&_argo0
,&_argo1
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PushEventHandler. Expected _wxWindow_p.");
3338 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PushEventHandler. Expected _wxEvtHandler_p.");
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 wxWindow_PushEventHandler(_arg0
,_arg1
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) return NULL
;
3350 } Py_INCREF(Py_None
);
3351 _resultobj
= Py_None
;
3355 #define wxWindow_RemoveEventHandler(_swigobj,_swigarg0) (_swigobj->RemoveEventHandler(_swigarg0))
3356 static PyObject
*_wrap_wxWindow_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
* _resultobj
;
3360 wxEvtHandler
* _arg1
;
3361 PyObject
* _argo0
= 0;
3362 PyObject
* _argo1
= 0;
3363 char *_kwnames
[] = { "self","handler", NULL
};
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveEventHandler",_kwnames
,&_argo0
,&_argo1
))
3369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RemoveEventHandler. Expected _wxWindow_p.");
3376 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveEventHandler. Expected _wxEvtHandler_p.");
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 _result
= (bool )wxWindow_RemoveEventHandler(_arg0
,_arg1
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) return NULL
;
3388 } _resultobj
= Py_BuildValue("i",_result
);
3392 #define wxWindow_PopupMenuXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PopupMenu(_swigarg0,_swigarg1,_swigarg2))
3393 static PyObject
*_wrap_wxWindow_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3400 PyObject
* _argo0
= 0;
3401 PyObject
* _argo1
= 0;
3402 char *_kwnames
[] = { "self","menu","x","y", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxWindow_PopupMenuXY",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenuXY. Expected _wxWindow_p.");
3415 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenuXY. Expected _wxMenu_p.");
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 _result
= (bool )wxWindow_PopupMenuXY(_arg0
,_arg1
,_arg2
,_arg3
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) return NULL
;
3427 } _resultobj
= Py_BuildValue("i",_result
);
3431 #define wxWindow_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
3432 static PyObject
*_wrap_wxWindow_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3438 PyObject
* _argo0
= 0;
3439 PyObject
* _argo1
= 0;
3441 PyObject
* _obj2
= 0;
3442 char *_kwnames
[] = { "self","menu","pos", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_PopupMenu",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PopupMenu. Expected _wxWindow_p.");
3455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_PopupMenu. Expected _wxMenu_p.");
3463 if (! wxPoint_helper(_obj2
, &_arg2
))
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 _result
= (bool )wxWindow_PopupMenu(_arg0
,_arg1
,*_arg2
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) return NULL
;
3472 } _resultobj
= Py_BuildValue("i",_result
);
3476 #define wxWindow_Raise(_swigobj) (_swigobj->Raise())
3477 static PyObject
*_wrap_wxWindow_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Raise",_kwnames
,&_argo0
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Raise. Expected _wxWindow_p.");
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 wxWindow_Raise(_arg0
);
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) return NULL
;
3499 } Py_INCREF(Py_None
);
3500 _resultobj
= Py_None
;
3504 #define wxWindow_Refresh(_swigobj,_swigarg0,_swigarg1) (_swigobj->Refresh(_swigarg0,_swigarg1))
3505 static PyObject
*_wrap_wxWindow_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3508 bool _arg1
= (bool ) TRUE
;
3509 wxRect
* _arg2
= (wxRect
*) NULL
;
3510 PyObject
* _argo0
= 0;
3511 int tempbool1
= (int) TRUE
;
3513 PyObject
* _obj2
= 0;
3514 char *_kwnames
[] = { "self","eraseBackground","rect", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxWindow_Refresh",_kwnames
,&_argo0
,&tempbool1
,&_obj2
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Refresh. Expected _wxWindow_p.");
3526 _arg1
= (bool ) tempbool1
;
3530 if (! wxRect_helper(_obj2
, &_arg2
))
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 wxWindow_Refresh(_arg0
,_arg1
,_arg2
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) return NULL
;
3539 } Py_INCREF(Py_None
);
3540 _resultobj
= Py_None
;
3544 #define wxWindow_RefreshRect(_swigobj,_swigarg0) (_swigobj->RefreshRect(_swigarg0))
3545 static PyObject
*_wrap_wxWindow_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3549 PyObject
* _argo0
= 0;
3551 PyObject
* _obj1
= 0;
3552 char *_kwnames
[] = { "self","rect", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RefreshRect",_kwnames
,&_argo0
,&_obj1
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_RefreshRect. Expected _wxWindow_p.");
3566 if (! wxRect_helper(_obj1
, &_arg1
))
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 wxWindow_RefreshRect(_arg0
,*_arg1
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3575 } Py_INCREF(Py_None
);
3576 _resultobj
= Py_None
;
3580 #define wxWindow_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
3581 static PyObject
*_wrap_wxWindow_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3585 PyObject
* _argo0
= 0;
3586 PyObject
* _argo1
= 0;
3587 char *_kwnames
[] = { "self","child", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_RemoveChild",_kwnames
,&_argo0
,&_argo1
))
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_RemoveChild. Expected _wxWindow_p.");
3600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_RemoveChild. Expected _wxWindow_p.");
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 wxWindow_RemoveChild(_arg0
,_arg1
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3612 } Py_INCREF(Py_None
);
3613 _resultobj
= Py_None
;
3617 #define wxWindow_Reparent(_swigobj,_swigarg0) (_swigobj->Reparent(_swigarg0))
3618 static PyObject
*_wrap_wxWindow_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3623 PyObject
* _argo0
= 0;
3624 PyObject
* _argo1
= 0;
3625 char *_kwnames
[] = { "self","newParent", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_Reparent",_kwnames
,&_argo0
,&_argo1
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Reparent. Expected _wxWindow_p.");
3638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_Reparent. Expected _wxWindow_p.");
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 _result
= (bool )wxWindow_Reparent(_arg0
,_arg1
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) return NULL
;
3650 } _resultobj
= Py_BuildValue("i",_result
);
3654 #define wxWindow_ScreenToClientXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScreenToClient(_swigarg0,_swigarg1))
3655 static PyObject
*_wrap_wxWindow_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3660 PyObject
* _argo0
= 0;
3662 PyObject
* _obj1
= 0;
3664 PyObject
* _obj2
= 0;
3665 char *_kwnames
[] = { "self","x","y", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxWindow_ScreenToClientXY",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClientXY. Expected _wxWindow_p.");
3678 temp
= (int) PyInt_AsLong(_obj1
);
3682 temp0
= (int) PyInt_AsLong(_obj2
);
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 wxWindow_ScreenToClientXY(_arg0
,_arg1
,_arg2
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) return NULL
;
3691 } Py_INCREF(Py_None
);
3692 _resultobj
= Py_None
;
3695 o
= PyInt_FromLong((long) (*_arg1
));
3696 _resultobj
= t_output_helper(_resultobj
, o
);
3700 o
= PyInt_FromLong((long) (*_arg2
));
3701 _resultobj
= t_output_helper(_resultobj
, o
);
3706 #define wxWindow_ScreenToClient(_swigobj,_swigarg0) (_swigobj->ScreenToClient(_swigarg0))
3707 static PyObject
*_wrap_wxWindow_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3712 PyObject
* _argo0
= 0;
3714 PyObject
* _obj1
= 0;
3715 char *_kwnames
[] = { "self","pt", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ScreenToClient",_kwnames
,&_argo0
,&_obj1
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScreenToClient. Expected _wxWindow_p.");
3730 if (! wxPoint_helper(_obj1
, &_arg1
))
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 _result
= new wxPoint (wxWindow_ScreenToClient(_arg0
,*_arg1
));
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
3740 _resultobj
= Py_BuildValue("s",_ptemp
);
3744 #define wxWindow_ScrollWindow(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ScrollWindow(_swigarg0,_swigarg1,_swigarg2))
3745 static PyObject
*_wrap_wxWindow_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3746 PyObject
* _resultobj
;
3750 wxRect
* _arg3
= (wxRect
*) NULL
;
3751 PyObject
* _argo0
= 0;
3753 PyObject
* _obj3
= 0;
3754 char *_kwnames
[] = { "self","dx","dy","rect", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|O:wxWindow_ScrollWindow",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollWindow. Expected _wxWindow_p.");
3769 if (! wxRect_helper(_obj3
, &_arg3
))
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 wxWindow_ScrollWindow(_arg0
,_arg1
,_arg2
,_arg3
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) return NULL
;
3778 } Py_INCREF(Py_None
);
3779 _resultobj
= Py_None
;
3783 #define wxWindow_SetAutoLayout(_swigobj,_swigarg0) (_swigobj->SetAutoLayout(_swigarg0))
3784 static PyObject
*_wrap_wxWindow_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3788 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self","autoLayout", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetAutoLayout",_kwnames
,&_argo0
,&tempbool1
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAutoLayout. Expected _wxWindow_p.");
3802 _arg1
= (bool ) tempbool1
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 wxWindow_SetAutoLayout(_arg0
,_arg1
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) return NULL
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3814 #define wxWindow_GetAutoLayout(_swigobj) (_swigobj->GetAutoLayout())
3815 static PyObject
*_wrap_wxWindow_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAutoLayout",_kwnames
,&_argo0
))
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_GetAutoLayout. Expected _wxWindow_p.");
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 _result
= (bool )wxWindow_GetAutoLayout(_arg0
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) return NULL
;
3838 } _resultobj
= Py_BuildValue("i",_result
);
3842 #define wxWindow_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
3843 static PyObject
*_wrap_wxWindow_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
* _resultobj
;
3847 PyObject
* _argo0
= 0;
3849 PyObject
* _obj1
= 0;
3850 char *_kwnames
[] = { "self","colour", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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_SetBackgroundColour. Expected _wxWindow_p.");
3864 if (! wxColour_helper(_obj1
, &_arg1
))
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 wxWindow_SetBackgroundColour(_arg0
,*_arg1
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) return NULL
;
3873 } Py_INCREF(Py_None
);
3874 _resultobj
= Py_None
;
3878 #define wxWindow_SetConstraints(_swigobj,_swigarg0) (_swigobj->SetConstraints(_swigarg0))
3879 static PyObject
*_wrap_wxWindow_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3882 wxLayoutConstraints
* _arg1
;
3883 PyObject
* _argo0
= 0;
3884 PyObject
* _argo1
= 0;
3885 char *_kwnames
[] = { "self","constraints", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetConstraints",_kwnames
,&_argo0
,&_argo1
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetConstraints. Expected _wxWindow_p.");
3898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetConstraints. Expected _wxLayoutConstraints_p.");
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxWindow_SetConstraints(_arg0
,_arg1
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) return NULL
;
3910 } Py_INCREF(Py_None
);
3911 _resultobj
= Py_None
;
3915 #define wxWindow_UnsetConstraints(_swigobj,_swigarg0) (_swigobj->UnsetConstraints(_swigarg0))
3916 static PyObject
*_wrap_wxWindow_UnsetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxLayoutConstraints
* _arg1
;
3920 PyObject
* _argo0
= 0;
3921 PyObject
* _argo1
= 0;
3922 char *_kwnames
[] = { "self","constraints", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_UnsetConstraints",_kwnames
,&_argo0
,&_argo1
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UnsetConstraints. Expected _wxWindow_p.");
3935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLayoutConstraints_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_UnsetConstraints. Expected _wxLayoutConstraints_p.");
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxWindow_UnsetConstraints(_arg0
,_arg1
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) return NULL
;
3947 } Py_INCREF(Py_None
);
3948 _resultobj
= Py_None
;
3952 #define wxWindow_SetFocus(_swigobj) (_swigobj->SetFocus())
3953 static PyObject
*_wrap_wxWindow_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3956 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "self", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocus",_kwnames
,&_argo0
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocus. Expected _wxWindow_p.");
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxWindow_SetFocus(_arg0
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) return NULL
;
3975 } Py_INCREF(Py_None
);
3976 _resultobj
= Py_None
;
3980 #define wxWindow_SetFocusFromKbd(_swigobj) (_swigobj->SetFocusFromKbd())
3981 static PyObject
*_wrap_wxWindow_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3984 PyObject
* _argo0
= 0;
3985 char *_kwnames
[] = { "self", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_SetFocusFromKbd",_kwnames
,&_argo0
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFocusFromKbd. Expected _wxWindow_p.");
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxWindow_SetFocusFromKbd(_arg0
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) return NULL
;
4003 } Py_INCREF(Py_None
);
4004 _resultobj
= Py_None
;
4008 #define wxWindow_AcceptsFocus(_swigobj) (_swigobj->AcceptsFocus())
4009 static PyObject
*_wrap_wxWindow_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4013 PyObject
* _argo0
= 0;
4014 char *_kwnames
[] = { "self", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_AcceptsFocus",_kwnames
,&_argo0
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_AcceptsFocus. Expected _wxWindow_p.");
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (bool )wxWindow_AcceptsFocus(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4032 } _resultobj
= Py_BuildValue("i",_result
);
4036 #define wxWindow_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4037 static PyObject
*_wrap_wxWindow_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4041 PyObject
* _argo0
= 0;
4042 PyObject
* _argo1
= 0;
4043 char *_kwnames
[] = { "self","font", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetFont",_kwnames
,&_argo0
,&_argo1
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetFont. Expected _wxWindow_p.");
4056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetFont. Expected _wxFont_p.");
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 wxWindow_SetFont(_arg0
,*_arg1
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) return NULL
;
4068 } Py_INCREF(Py_None
);
4069 _resultobj
= Py_None
;
4073 #define wxWindow_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
4074 static PyObject
*_wrap_wxWindow_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4078 PyObject
* _argo0
= 0;
4080 PyObject
* _obj1
= 0;
4081 char *_kwnames
[] = { "self","colour", NULL
};
4084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
4087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetForegroundColour. Expected _wxWindow_p.");
4095 if (! wxColour_helper(_obj1
, &_arg1
))
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 wxWindow_SetForegroundColour(_arg0
,*_arg1
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) return NULL
;
4104 } Py_INCREF(Py_None
);
4105 _resultobj
= Py_None
;
4109 #define wxWindow_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
4110 static PyObject
*_wrap_wxWindow_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4114 PyObject
* _argo0
= 0;
4115 char *_kwnames
[] = { "self","id", NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_SetId",_kwnames
,&_argo0
,&_arg1
))
4121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetId. Expected _wxWindow_p.");
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 wxWindow_SetId(_arg0
,_arg1
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) return NULL
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 #define wxWindow_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0))
4139 static PyObject
*_wrap_wxWindow_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4143 PyObject
* _argo0
= 0;
4144 PyObject
* _obj1
= 0;
4145 char *_kwnames
[] = { "self","name", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetName",_kwnames
,&_argo0
,&_obj1
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetName. Expected _wxWindow_p.");
4158 _arg1
= wxString_in_helper(_obj1
);
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 wxWindow_SetName(_arg0
,*_arg1
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) return NULL
;
4168 } Py_INCREF(Py_None
);
4169 _resultobj
= Py_None
;
4177 #define wxWindow_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4178 static PyObject
*_wrap_wxWindow_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
* _resultobj
;
4185 int _arg5
= (int ) TRUE
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self","orientation","position","thumbSize","range","refresh", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollbar. Expected _wxWindow_p.");
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 wxWindow_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) return NULL
;
4205 } Py_INCREF(Py_None
);
4206 _resultobj
= Py_None
;
4210 #define wxWindow_SetScrollPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetScrollPos(_swigarg0,_swigarg1,_swigarg2))
4211 static PyObject
*_wrap_wxWindow_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
* _resultobj
;
4216 bool _arg3
= (bool ) TRUE
;
4217 PyObject
* _argo0
= 0;
4218 int tempbool3
= (int) TRUE
;
4219 char *_kwnames
[] = { "self","orientation","pos","refresh", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|i:wxWindow_SetScrollPos",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&tempbool3
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetScrollPos. Expected _wxWindow_p.");
4231 _arg3
= (bool ) tempbool3
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxWindow_SetScrollPos(_arg0
,_arg1
,_arg2
,_arg3
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } Py_INCREF(Py_None
);
4239 _resultobj
= Py_None
;
4243 #define wxWindow_SetDimensions(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4244 static PyObject
*_wrap_wxWindow_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4251 int _arg5
= (int ) wxSIZE_AUTO
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self","x","y","width","height","sizeFlags", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxWindow_SetDimensions",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDimensions. Expected _wxWindow_p.");
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 wxWindow_SetDimensions(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) return NULL
;
4271 } Py_INCREF(Py_None
);
4272 _resultobj
= Py_None
;
4276 static void wxWindow_SetSize(wxWindow
*self
,const wxSize
& size
) {
4277 self
->SetSize(size
);
4279 static PyObject
*_wrap_wxWindow_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4283 PyObject
* _argo0
= 0;
4285 PyObject
* _obj1
= 0;
4286 char *_kwnames
[] = { "self","size", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetSize",_kwnames
,&_argo0
,&_obj1
))
4292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSize. Expected _wxWindow_p.");
4300 if (! wxSize_helper(_obj1
, &_arg1
))
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 wxWindow_SetSize(_arg0
,*_arg1
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) return NULL
;
4309 } Py_INCREF(Py_None
);
4310 _resultobj
= Py_None
;
4314 static void wxWindow_SetPosition(wxWindow
*self
,const wxPoint
& pos
,int flags
) {
4315 self
->Move(pos
, flags
);
4317 static PyObject
*_wrap_wxWindow_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
* _resultobj
;
4321 int _arg2
= (int ) wxSIZE_USE_EXISTING
;
4322 PyObject
* _argo0
= 0;
4324 PyObject
* _obj1
= 0;
4325 char *_kwnames
[] = { "self","pos","flags", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetPosition",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetPosition. Expected _wxWindow_p.");
4339 if (! wxPoint_helper(_obj1
, &_arg1
))
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 wxWindow_SetPosition(_arg0
,*_arg1
,_arg2
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) return NULL
;
4348 } Py_INCREF(Py_None
);
4349 _resultobj
= Py_None
;
4353 static void wxWindow_SetRect(wxWindow
*self
,const wxRect
& rect
,int sizeFlags
) {
4354 self
->SetSize(rect
, sizeFlags
);
4356 static PyObject
*_wrap_wxWindow_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
* _resultobj
;
4360 int _arg2
= (int ) wxSIZE_AUTO
;
4361 PyObject
* _argo0
= 0;
4363 PyObject
* _obj1
= 0;
4364 char *_kwnames
[] = { "self","rect","sizeFlags", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetRect",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetRect. Expected _wxWindow_p.");
4378 if (! wxRect_helper(_obj1
, &_arg1
))
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 wxWindow_SetRect(_arg0
,*_arg1
,_arg2
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) return NULL
;
4387 } Py_INCREF(Py_None
);
4388 _resultobj
= Py_None
;
4392 #define wxWindow_SetSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->SetSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4393 static PyObject
*_wrap_wxWindow_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4398 int _arg3
= (int ) -1;
4399 int _arg4
= (int ) -1;
4400 int _arg5
= (int ) -1;
4401 int _arg6
= (int ) -1;
4402 PyObject
* _argo0
= 0;
4403 char *_kwnames
[] = { "self","minW","minH","maxW","maxH","incW","incH", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|iiii:wxWindow_SetSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
))
4409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizeHints. Expected _wxWindow_p.");
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxWindow_SetSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) return NULL
;
4421 } Py_INCREF(Py_None
);
4422 _resultobj
= Py_None
;
4426 #define wxWindow_SetVirtualSizeHints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetVirtualSizeHints(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4427 static PyObject
*_wrap_wxWindow_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4432 int _arg3
= (int ) -1;
4433 int _arg4
= (int ) -1;
4434 PyObject
* _argo0
= 0;
4435 char *_kwnames
[] = { "self","minW","minH","maxW","maxH", NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|ii:wxWindow_SetVirtualSizeHints",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
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_SetVirtualSizeHints. Expected _wxWindow_p.");
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 wxWindow_SetVirtualSizeHints(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) return NULL
;
4453 } Py_INCREF(Py_None
);
4454 _resultobj
= Py_None
;
4458 #define wxWindow_SetVirtualSize(_swigobj,_swigarg0) (_swigobj->SetVirtualSize(_swigarg0))
4459 static PyObject
*_wrap_wxWindow_SetVirtualSize(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_SetVirtualSize",_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_SetVirtualSize. Expected _wxWindow_p.");
4480 if (! wxSize_helper(_obj1
, &_arg1
))
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 wxWindow_SetVirtualSize(_arg0
,*_arg1
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) return NULL
;
4489 } Py_INCREF(Py_None
);
4490 _resultobj
= Py_None
;
4494 #define wxWindow_SetVirtualSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVirtualSize(_swigarg0,_swigarg1))
4495 static PyObject
*_wrap_wxWindow_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4500 PyObject
* _argo0
= 0;
4501 char *_kwnames
[] = { "self","x","y", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetVirtualSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetVirtualSizeWH. Expected _wxWindow_p.");
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 wxWindow_SetVirtualSizeWH(_arg0
,_arg1
,_arg2
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) return NULL
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 #define wxWindow_GetVirtualSize(_swigobj) (_swigobj->GetVirtualSize())
4525 static PyObject
*_wrap_wxWindow_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSize",_kwnames
,&_argo0
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSize. Expected _wxWindow_p.");
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 _result
= new wxSize (wxWindow_GetVirtualSize(_arg0
));
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) return NULL
;
4549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
4550 _resultobj
= Py_BuildValue("s",_ptemp
);
4554 #define wxWindow_GetVirtualSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetVirtualSize(_swigarg0,_swigarg1))
4555 static PyObject
*_wrap_wxWindow_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetVirtualSizeTuple",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetVirtualSizeTuple. Expected _wxWindow_p.");
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 wxWindow_GetVirtualSizeTuple(_arg0
,_arg1
,_arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4591 o
= PyInt_FromLong((long) (*_arg1
));
4592 _resultobj
= t_output_helper(_resultobj
, o
);
4596 o
= PyInt_FromLong((long) (*_arg2
));
4597 _resultobj
= t_output_helper(_resultobj
, o
);
4602 #define wxWindow_SetClientSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
4603 static PyObject
*_wrap_wxWindow_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4608 PyObject
* _argo0
= 0;
4609 char *_kwnames
[] = { "self","width","height", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_SetClientSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSizeWH. Expected _wxWindow_p.");
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 wxWindow_SetClientSizeWH(_arg0
,_arg1
,_arg2
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) return NULL
;
4627 } Py_INCREF(Py_None
);
4628 _resultobj
= Py_None
;
4632 #define wxWindow_SetClientSize(_swigobj,_swigarg0) (_swigobj->SetClientSize(_swigarg0))
4633 static PyObject
*_wrap_wxWindow_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
* _resultobj
;
4637 PyObject
* _argo0
= 0;
4639 PyObject
* _obj1
= 0;
4640 char *_kwnames
[] = { "self","size", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetClientSize",_kwnames
,&_argo0
,&_obj1
))
4646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetClientSize. Expected _wxWindow_p.");
4654 if (! wxSize_helper(_obj1
, &_arg1
))
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 wxWindow_SetClientSize(_arg0
,*_arg1
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) return NULL
;
4663 } Py_INCREF(Py_None
);
4664 _resultobj
= Py_None
;
4668 #define wxWindow_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
4669 static PyObject
*_wrap_wxWindow_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4673 PyObject
* _argo0
= 0;
4674 PyObject
* _argo1
= 0;
4675 char *_kwnames
[] = { "self","cursor", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCursor",_kwnames
,&_argo0
,&_argo1
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCursor. Expected _wxWindow_p.");
4688 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4689 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
4690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCursor. Expected _wxCursor_p.");
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxWindow_SetCursor(_arg0
,*_arg1
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) return NULL
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4705 #define wxWindow_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
4706 static PyObject
*_wrap_wxWindow_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4709 wxEvtHandler
* _arg1
;
4710 PyObject
* _argo0
= 0;
4711 PyObject
* _argo1
= 0;
4712 char *_kwnames
[] = { "self","handler", NULL
};
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
4718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetEventHandler. Expected _wxWindow_p.");
4725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetEventHandler. Expected _wxEvtHandler_p.");
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 wxWindow_SetEventHandler(_arg0
,_arg1
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) return NULL
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4742 #define wxWindow_SetExtraStyle(_swigobj,_swigarg0) (_swigobj->SetExtraStyle(_swigarg0))
4743 static PyObject
*_wrap_wxWindow_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4747 PyObject
* _argo0
= 0;
4748 char *_kwnames
[] = { "self","exStyle", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxWindow_SetExtraStyle",_kwnames
,&_argo0
,&_arg1
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetExtraStyle. Expected _wxWindow_p.");
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxWindow_SetExtraStyle(_arg0
,_arg1
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) return NULL
;
4766 } Py_INCREF(Py_None
);
4767 _resultobj
= Py_None
;
4771 #define wxWindow_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
4772 static PyObject
*_wrap_wxWindow_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4777 PyObject
* _obj1
= 0;
4778 char *_kwnames
[] = { "self","title", NULL
};
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTitle",_kwnames
,&_argo0
,&_obj1
))
4784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTitle. Expected _wxWindow_p.");
4791 _arg1
= wxString_in_helper(_obj1
);
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 wxWindow_SetTitle(_arg0
,*_arg1
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) return NULL
;
4801 } Py_INCREF(Py_None
);
4802 _resultobj
= Py_None
;
4810 #define wxWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4811 static PyObject
*_wrap_wxWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4815 bool _arg1
= (bool ) TRUE
;
4816 PyObject
* _argo0
= 0;
4817 int tempbool1
= (int) TRUE
;
4818 char *_kwnames
[] = { "self","show", NULL
};
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Show. Expected _wxWindow_p.");
4830 _arg1
= (bool ) tempbool1
;
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 _result
= (bool )wxWindow_Show(_arg0
,_arg1
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) return NULL
;
4837 } _resultobj
= Py_BuildValue("i",_result
);
4841 #define wxWindow_TransferDataFromWindow(_swigobj) (_swigobj->TransferDataFromWindow())
4842 static PyObject
*_wrap_wxWindow_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4846 PyObject
* _argo0
= 0;
4847 char *_kwnames
[] = { "self", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataFromWindow",_kwnames
,&_argo0
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataFromWindow. Expected _wxWindow_p.");
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 _result
= (bool )wxWindow_TransferDataFromWindow(_arg0
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) return NULL
;
4865 } _resultobj
= Py_BuildValue("i",_result
);
4869 #define wxWindow_TransferDataToWindow(_swigobj) (_swigobj->TransferDataToWindow())
4870 static PyObject
*_wrap_wxWindow_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4874 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_TransferDataToWindow",_kwnames
,&_argo0
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_TransferDataToWindow. Expected _wxWindow_p.");
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 _result
= (bool )wxWindow_TransferDataToWindow(_arg0
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) return NULL
;
4893 } _resultobj
= Py_BuildValue("i",_result
);
4897 #define wxWindow_UpdateWindowUI(_swigobj) (_swigobj->UpdateWindowUI())
4898 static PyObject
*_wrap_wxWindow_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4901 PyObject
* _argo0
= 0;
4902 char *_kwnames
[] = { "self", NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_UpdateWindowUI",_kwnames
,&_argo0
))
4908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_UpdateWindowUI. Expected _wxWindow_p.");
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 wxWindow_UpdateWindowUI(_arg0
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) return NULL
;
4920 } Py_INCREF(Py_None
);
4921 _resultobj
= Py_None
;
4925 #define wxWindow_Validate(_swigobj) (_swigobj->Validate())
4926 static PyObject
*_wrap_wxWindow_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4930 PyObject
* _argo0
= 0;
4931 char *_kwnames
[] = { "self", NULL
};
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Validate",_kwnames
,&_argo0
))
4937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Validate. Expected _wxWindow_p.");
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 _result
= (bool )wxWindow_Validate(_arg0
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) return NULL
;
4949 } _resultobj
= Py_BuildValue("i",_result
);
4953 #define wxWindow_ConvertDialogPointToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4954 static PyObject
*_wrap_wxWindow_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4959 PyObject
* _argo0
= 0;
4961 PyObject
* _obj1
= 0;
4962 char *_kwnames
[] = { "self","pt", NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogPointToPixels",_kwnames
,&_argo0
,&_obj1
))
4969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogPointToPixels. Expected _wxWindow_p.");
4977 if (! wxPoint_helper(_obj1
, &_arg1
))
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 _result
= new wxPoint (wxWindow_ConvertDialogPointToPixels(_arg0
,*_arg1
));
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
4987 _resultobj
= Py_BuildValue("s",_ptemp
);
4991 #define wxWindow_ConvertDialogSizeToPixels(_swigobj,_swigarg0) (_swigobj->ConvertDialogToPixels(_swigarg0))
4992 static PyObject
*_wrap_wxWindow_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4997 PyObject
* _argo0
= 0;
4999 PyObject
* _obj1
= 0;
5000 char *_kwnames
[] = { "self","sz", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertDialogSizeToPixels",_kwnames
,&_argo0
,&_obj1
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertDialogSizeToPixels. Expected _wxWindow_p.");
5015 if (! wxSize_helper(_obj1
, &_arg1
))
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 _result
= new wxSize (wxWindow_ConvertDialogSizeToPixels(_arg0
,*_arg1
));
5022 wxPyEndAllowThreads(__tstate
);
5023 if (PyErr_Occurred()) return NULL
;
5024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5025 _resultobj
= Py_BuildValue("s",_ptemp
);
5029 #define wxWindow_ConvertPixelPointToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5030 static PyObject
*_wrap_wxWindow_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5035 PyObject
* _argo0
= 0;
5037 PyObject
* _obj1
= 0;
5038 char *_kwnames
[] = { "self","pt", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelPointToDialog",_kwnames
,&_argo0
,&_obj1
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelPointToDialog. Expected _wxWindow_p.");
5053 if (! wxPoint_helper(_obj1
, &_arg1
))
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 _result
= new wxPoint (wxWindow_ConvertPixelPointToDialog(_arg0
,*_arg1
));
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) return NULL
;
5062 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5063 _resultobj
= Py_BuildValue("s",_ptemp
);
5067 #define wxWindow_ConvertPixelSizeToDialog(_swigobj,_swigarg0) (_swigobj->ConvertPixelsToDialog(_swigarg0))
5068 static PyObject
*_wrap_wxWindow_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5073 PyObject
* _argo0
= 0;
5075 PyObject
* _obj1
= 0;
5076 char *_kwnames
[] = { "self","sz", NULL
};
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_ConvertPixelSizeToDialog",_kwnames
,&_argo0
,&_obj1
))
5083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ConvertPixelSizeToDialog. Expected _wxWindow_p.");
5091 if (! wxSize_helper(_obj1
, &_arg1
))
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 _result
= new wxSize (wxWindow_ConvertPixelSizeToDialog(_arg0
,*_arg1
));
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) return NULL
;
5100 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5101 _resultobj
= Py_BuildValue("s",_ptemp
);
5105 #define wxWindow_SetToolTipString(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5106 static PyObject
*_wrap_wxWindow_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
* _resultobj
;
5110 PyObject
* _argo0
= 0;
5111 PyObject
* _obj1
= 0;
5112 char *_kwnames
[] = { "self","tip", NULL
};
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTipString",_kwnames
,&_argo0
,&_obj1
))
5118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTipString. Expected _wxWindow_p.");
5125 _arg1
= wxString_in_helper(_obj1
);
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxWindow_SetToolTipString(_arg0
,*_arg1
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) return NULL
;
5135 } Py_INCREF(Py_None
);
5136 _resultobj
= Py_None
;
5144 #define wxWindow_SetToolTip(_swigobj,_swigarg0) (_swigobj->SetToolTip(_swigarg0))
5145 static PyObject
*_wrap_wxWindow_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5149 PyObject
* _argo0
= 0;
5150 PyObject
* _argo1
= 0;
5151 char *_kwnames
[] = { "self","tooltip", NULL
};
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetToolTip",_kwnames
,&_argo0
,&_argo1
))
5157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetToolTip. Expected _wxWindow_p.");
5164 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5165 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolTip_p")) {
5166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetToolTip. Expected _wxToolTip_p.");
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 wxWindow_SetToolTip(_arg0
,_arg1
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) return NULL
;
5176 } Py_INCREF(Py_None
);
5177 _resultobj
= Py_None
;
5181 #define wxWindow_GetToolTip(_swigobj) (_swigobj->GetToolTip())
5182 static PyObject
*_wrap_wxWindow_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5184 wxToolTip
* _result
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetToolTip",_kwnames
,&_argo0
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetToolTip. Expected _wxWindow_p.");
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 _result
= (wxToolTip
*)wxWindow_GetToolTip(_arg0
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) return NULL
;
5205 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5209 #define wxWindow_SetSizer(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizer(_swigarg0,_swigarg1))
5210 static PyObject
*_wrap_wxWindow_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5214 bool _arg2
= (bool ) TRUE
;
5215 PyObject
* _argo0
= 0;
5216 PyObject
* _argo1
= 0;
5217 int tempbool2
= (int) TRUE
;
5218 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizer",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizer. Expected _wxWindow_p.");
5231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizer. Expected _wxSizer_p.");
5237 _arg2
= (bool ) tempbool2
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxWindow_SetSizer(_arg0
,_arg1
,_arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) return NULL
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 #define wxWindow_SetSizerAndFit(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSizerAndFit(_swigarg0,_swigarg1))
5250 static PyObject
*_wrap_wxWindow_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5254 bool _arg2
= (bool ) TRUE
;
5255 PyObject
* _argo0
= 0;
5256 PyObject
* _argo1
= 0;
5257 int tempbool2
= (int) TRUE
;
5258 char *_kwnames
[] = { "self","sizer","deleteOld", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxWindow_SetSizerAndFit",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetSizerAndFit. Expected _wxWindow_p.");
5271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetSizerAndFit. Expected _wxSizer_p.");
5277 _arg2
= (bool ) tempbool2
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 wxWindow_SetSizerAndFit(_arg0
,_arg1
,_arg2
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) return NULL
;
5284 } Py_INCREF(Py_None
);
5285 _resultobj
= Py_None
;
5289 #define wxWindow_GetSizer(_swigobj) (_swigobj->GetSizer())
5290 static PyObject
*_wrap_wxWindow_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self", NULL
};
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetSizer",_kwnames
,&_argo0
))
5301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetSizer. Expected _wxWindow_p.");
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 _result
= (wxSizer
*)wxWindow_GetSizer(_arg0
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) return NULL
;
5313 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5317 #define wxWindow_SetContainingSizer(_swigobj,_swigarg0) (_swigobj->SetContainingSizer(_swigarg0))
5318 static PyObject
*_wrap_wxWindow_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5322 PyObject
* _argo0
= 0;
5323 PyObject
* _argo1
= 0;
5324 char *_kwnames
[] = { "self","sizer", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetContainingSizer",_kwnames
,&_argo0
,&_argo1
))
5330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetContainingSizer. Expected _wxWindow_p.");
5337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSizer_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetContainingSizer. Expected _wxSizer_p.");
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 wxWindow_SetContainingSizer(_arg0
,_arg1
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) return NULL
;
5349 } Py_INCREF(Py_None
);
5350 _resultobj
= Py_None
;
5354 #define wxWindow_GetContainingSizer(_swigobj) (_swigobj->GetContainingSizer())
5355 static PyObject
*_wrap_wxWindow_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5359 PyObject
* _argo0
= 0;
5360 char *_kwnames
[] = { "self", NULL
};
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetContainingSizer",_kwnames
,&_argo0
))
5366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetContainingSizer. Expected _wxWindow_p.");
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 _result
= (wxSizer
*)wxWindow_GetContainingSizer(_arg0
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) return NULL
;
5378 }{ _resultobj
= wxPyMake_wxSizer(_result
); }
5382 #define wxWindow_GetValidator(_swigobj) (_swigobj->GetValidator())
5383 static PyObject
*_wrap_wxWindow_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5385 wxValidator
* _result
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetValidator",_kwnames
,&_argo0
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetValidator. Expected _wxWindow_p.");
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 _result
= (wxValidator
*)wxWindow_GetValidator(_arg0
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) return NULL
;
5406 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5410 #define wxWindow_SetValidator(_swigobj,_swigarg0) (_swigobj->SetValidator(_swigarg0))
5411 static PyObject
*_wrap_wxWindow_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5414 wxValidator
* _arg1
;
5415 PyObject
* _argo0
= 0;
5416 PyObject
* _argo1
= 0;
5417 char *_kwnames
[] = { "self","validator", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetValidator",_kwnames
,&_argo0
,&_argo1
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetValidator. Expected _wxWindow_p.");
5430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxValidator_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetValidator. Expected _wxValidator_p.");
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 wxWindow_SetValidator(_arg0
,*_arg1
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) return NULL
;
5442 } Py_INCREF(Py_None
);
5443 _resultobj
= Py_None
;
5447 #define wxWindow_GetBestSize(_swigobj) (_swigobj->GetBestSize())
5448 static PyObject
*_wrap_wxWindow_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5452 PyObject
* _argo0
= 0;
5453 char *_kwnames
[] = { "self", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetBestSize",_kwnames
,&_argo0
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetBestSize. Expected _wxWindow_p.");
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 _result
= new wxSize (wxWindow_GetBestSize(_arg0
));
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) return NULL
;
5472 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5473 _resultobj
= Py_BuildValue("s",_ptemp
);
5477 #define wxWindow_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
5478 static PyObject
*_wrap_wxWindow_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetMaxSize",_kwnames
,&_argo0
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetMaxSize. Expected _wxWindow_p.");
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 _result
= new wxSize (wxWindow_GetMaxSize(_arg0
));
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) return NULL
;
5502 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
5503 _resultobj
= Py_BuildValue("s",_ptemp
);
5507 #define wxWindow_SetCaret(_swigobj,_swigarg0) (_swigobj->SetCaret(_swigarg0))
5508 static PyObject
*_wrap_wxWindow_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5512 PyObject
* _argo0
= 0;
5513 PyObject
* _argo1
= 0;
5514 char *_kwnames
[] = { "self","caret", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetCaret",_kwnames
,&_argo0
,&_argo1
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetCaret. Expected _wxWindow_p.");
5527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCaret_p")) {
5529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetCaret. Expected _wxCaret_p.");
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 wxWindow_SetCaret(_arg0
,_arg1
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) return NULL
;
5539 } Py_INCREF(Py_None
);
5540 _resultobj
= Py_None
;
5544 #define wxWindow_GetCaret(_swigobj) (_swigobj->GetCaret())
5545 static PyObject
*_wrap_wxWindow_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5549 PyObject
* _argo0
= 0;
5550 char *_kwnames
[] = { "self", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetCaret",_kwnames
,&_argo0
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetCaret. Expected _wxWindow_p.");
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 _result
= (wxCaret
*)wxWindow_GetCaret(_arg0
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) return NULL
;
5570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
5571 _resultobj
= Py_BuildValue("s",_ptemp
);
5574 _resultobj
= Py_None
;
5579 #define wxWindow_Freeze(_swigobj) (_swigobj->Freeze())
5580 static PyObject
*_wrap_wxWindow_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
* _resultobj
;
5583 PyObject
* _argo0
= 0;
5584 char *_kwnames
[] = { "self", NULL
};
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Freeze",_kwnames
,&_argo0
))
5590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Freeze. Expected _wxWindow_p.");
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 wxWindow_Freeze(_arg0
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) return NULL
;
5602 } Py_INCREF(Py_None
);
5603 _resultobj
= Py_None
;
5607 #define wxWindow_Thaw(_swigobj) (_swigobj->Thaw())
5608 static PyObject
*_wrap_wxWindow_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self", NULL
};
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Thaw",_kwnames
,&_argo0
))
5618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Thaw. Expected _wxWindow_p.");
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 wxWindow_Thaw(_arg0
);
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) return NULL
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5635 #define wxWindow_Update(_swigobj) (_swigobj->Update())
5636 static PyObject
*_wrap_wxWindow_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5639 PyObject
* _argo0
= 0;
5640 char *_kwnames
[] = { "self", NULL
};
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_Update",_kwnames
,&_argo0
))
5646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_Update. Expected _wxWindow_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxWindow_Update(_arg0
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 #define wxWindow_GetHelpText(_swigobj) (_swigobj->GetHelpText())
5664 static PyObject
*_wrap_wxWindow_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5668 PyObject
* _argo0
= 0;
5669 char *_kwnames
[] = { "self", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetHelpText",_kwnames
,&_argo0
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetHelpText. Expected _wxWindow_p.");
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 _result
= new wxString (wxWindow_GetHelpText(_arg0
));
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) return NULL
;
5689 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5691 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5700 #define wxWindow_SetHelpText(_swigobj,_swigarg0) (_swigobj->SetHelpText(_swigarg0))
5701 static PyObject
*_wrap_wxWindow_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5705 PyObject
* _argo0
= 0;
5706 PyObject
* _obj1
= 0;
5707 char *_kwnames
[] = { "self","helpText", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpText",_kwnames
,&_argo0
,&_obj1
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpText. Expected _wxWindow_p.");
5720 _arg1
= wxString_in_helper(_obj1
);
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 wxWindow_SetHelpText(_arg0
,*_arg1
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) return NULL
;
5730 } Py_INCREF(Py_None
);
5731 _resultobj
= Py_None
;
5739 #define wxWindow_SetHelpTextForId(_swigobj,_swigarg0) (_swigobj->SetHelpTextForId(_swigarg0))
5740 static PyObject
*_wrap_wxWindow_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5744 PyObject
* _argo0
= 0;
5745 PyObject
* _obj1
= 0;
5746 char *_kwnames
[] = { "self","text", NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetHelpTextForId",_kwnames
,&_argo0
,&_obj1
))
5752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetHelpTextForId. Expected _wxWindow_p.");
5759 _arg1
= wxString_in_helper(_obj1
);
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 wxWindow_SetHelpTextForId(_arg0
,*_arg1
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) return NULL
;
5769 } Py_INCREF(Py_None
);
5770 _resultobj
= Py_None
;
5778 #define wxWindow_ScrollLines(_swigobj,_swigarg0) (_swigobj->ScrollLines(_swigarg0))
5779 static PyObject
*_wrap_wxWindow_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5784 PyObject
* _argo0
= 0;
5785 char *_kwnames
[] = { "self","lines", NULL
};
5788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollLines",_kwnames
,&_argo0
,&_arg1
))
5791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ScrollLines. Expected _wxWindow_p.");
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 _result
= (bool )wxWindow_ScrollLines(_arg0
,_arg1
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) return NULL
;
5803 } _resultobj
= Py_BuildValue("i",_result
);
5807 #define wxWindow_ScrollPages(_swigobj,_swigarg0) (_swigobj->ScrollPages(_swigarg0))
5808 static PyObject
*_wrap_wxWindow_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
* _resultobj
;
5813 PyObject
* _argo0
= 0;
5814 char *_kwnames
[] = { "self","pages", NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxWindow_ScrollPages",_kwnames
,&_argo0
,&_arg1
))
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_ScrollPages. Expected _wxWindow_p.");
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 _result
= (bool )wxWindow_ScrollPages(_arg0
,_arg1
);
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) return NULL
;
5832 } _resultobj
= Py_BuildValue("i",_result
);
5836 #define wxWindow_LineUp(_swigobj) (_swigobj->LineUp())
5837 static PyObject
*_wrap_wxWindow_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
* _resultobj
;
5841 PyObject
* _argo0
= 0;
5842 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineUp",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineUp. Expected _wxWindow_p.");
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 _result
= (bool )wxWindow_LineUp(_arg0
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) return NULL
;
5860 } _resultobj
= Py_BuildValue("i",_result
);
5864 #define wxWindow_LineDown(_swigobj) (_swigobj->LineDown())
5865 static PyObject
*_wrap_wxWindow_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_LineDown",_kwnames
,&_argo0
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_LineDown. Expected _wxWindow_p.");
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= (bool )wxWindow_LineDown(_arg0
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5888 } _resultobj
= Py_BuildValue("i",_result
);
5892 #define wxWindow_PageUp(_swigobj) (_swigobj->PageUp())
5893 static PyObject
*_wrap_wxWindow_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageUp",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageUp. Expected _wxWindow_p.");
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 _result
= (bool )wxWindow_PageUp(_arg0
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) return NULL
;
5916 } _resultobj
= Py_BuildValue("i",_result
);
5920 #define wxWindow_PageDown(_swigobj) (_swigobj->PageDown())
5921 static PyObject
*_wrap_wxWindow_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
* _resultobj
;
5925 PyObject
* _argo0
= 0;
5926 char *_kwnames
[] = { "self", NULL
};
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_PageDown",_kwnames
,&_argo0
))
5932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_PageDown. Expected _wxWindow_p.");
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 _result
= (bool )wxWindow_PageDown(_arg0
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) return NULL
;
5944 } _resultobj
= Py_BuildValue("i",_result
);
5948 static PyObject
*_wrap_wxWindow_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5951 char *_kwnames
[] = { NULL
};
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_FindFocus",_kwnames
))
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 _result
= (wxWindow
*)wxWindow::FindFocus();
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) return NULL
;
5962 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5966 static PyObject
*_wrap_wxWindow_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
* _resultobj
;
5969 char *_kwnames
[] = { NULL
};
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_NewControlId",_kwnames
))
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 _result
= (int )wxWindow::NewControlId();
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) return NULL
;
5980 } _resultobj
= Py_BuildValue("i",_result
);
5984 static PyObject
*_wrap_wxWindow_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5988 char *_kwnames
[] = { "id", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_NextControlId",_kwnames
,&_arg0
))
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 _result
= (int )wxWindow::NextControlId(_arg0
);
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) return NULL
;
5999 } _resultobj
= Py_BuildValue("i",_result
);
6003 static PyObject
*_wrap_wxWindow_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6007 char *_kwnames
[] = { "id", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxWindow_PrevControlId",_kwnames
,&_arg0
))
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 _result
= (int )wxWindow::PrevControlId(_arg0
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) return NULL
;
6018 } _resultobj
= Py_BuildValue("i",_result
);
6022 #define wxWindow_SetAcceleratorTable(_swigobj,_swigarg0) (_swigobj->SetAcceleratorTable(_swigarg0))
6023 static PyObject
*_wrap_wxWindow_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
* _resultobj
;
6026 wxAcceleratorTable
* _arg1
;
6027 PyObject
* _argo0
= 0;
6028 PyObject
* _argo1
= 0;
6029 char *_kwnames
[] = { "self","accel", NULL
};
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetAcceleratorTable",_kwnames
,&_argo0
,&_argo1
))
6035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetAcceleratorTable. Expected _wxWindow_p.");
6042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorTable_p")) {
6044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetAcceleratorTable. Expected _wxAcceleratorTable_p.");
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 wxWindow_SetAcceleratorTable(_arg0
,*_arg1
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) return NULL
;
6054 } Py_INCREF(Py_None
);
6055 _resultobj
= Py_None
;
6059 #define wxWindow_GetAcceleratorTable(_swigobj) (_swigobj->GetAcceleratorTable())
6060 static PyObject
*_wrap_wxWindow_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6062 wxAcceleratorTable
* _result
;
6064 PyObject
* _argo0
= 0;
6065 char *_kwnames
[] = { "self", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetAcceleratorTable",_kwnames
,&_argo0
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetAcceleratorTable. Expected _wxWindow_p.");
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 _result
= (wxAcceleratorTable
*)wxWindow_GetAcceleratorTable(_arg0
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6085 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
6086 _resultobj
= Py_BuildValue("s",_ptemp
);
6089 _resultobj
= Py_None
;
6094 #define wxWindow_GetDefaultItem(_swigobj) (_swigobj->GetDefaultItem())
6095 static PyObject
*_wrap_wxWindow_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
* _resultobj
;
6099 PyObject
* _argo0
= 0;
6100 char *_kwnames
[] = { "self", NULL
};
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_GetDefaultItem",_kwnames
,&_argo0
))
6106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_GetDefaultItem. Expected _wxWindow_p.");
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 _result
= (wxWindow
*)wxWindow_GetDefaultItem(_arg0
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) return NULL
;
6118 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6122 #define wxWindow_SetDefaultItem(_swigobj,_swigarg0) (_swigobj->SetDefaultItem(_swigarg0))
6123 static PyObject
*_wrap_wxWindow_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6128 PyObject
* _argo0
= 0;
6129 PyObject
* _argo1
= 0;
6130 char *_kwnames
[] = { "self","btn", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6143 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetDefaultItem. Expected _wxWindow_p.");
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 _result
= (wxWindow
*)wxWindow_SetDefaultItem(_arg0
,_arg1
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) return NULL
;
6155 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6159 #define wxWindow_SetTmpDefaultItem(_swigobj,_swigarg0) (_swigobj->SetTmpDefaultItem(_swigarg0))
6160 static PyObject
*_wrap_wxWindow_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6164 PyObject
* _argo0
= 0;
6165 PyObject
* _argo1
= 0;
6166 char *_kwnames
[] = { "self","win", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxWindow_SetTmpDefaultItem",_kwnames
,&_argo0
,&_argo1
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxWindow_SetTmpDefaultItem. Expected _wxWindow_p.");
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 wxWindow_SetTmpDefaultItem(_arg0
,_arg1
);
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) return NULL
;
6191 } Py_INCREF(Py_None
);
6192 _resultobj
= Py_None
;
6196 #define wxWindow_WarpPointer(_swigobj,_swigarg0,_swigarg1) (_swigobj->WarpPointer(_swigarg0,_swigarg1))
6197 static PyObject
*_wrap_wxWindow_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
* _resultobj
;
6202 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self","x","y", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxWindow_WarpPointer",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_WarpPointer. Expected _wxWindow_p.");
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 wxWindow_WarpPointer(_arg0
,_arg1
,_arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) return NULL
;
6221 } Py_INCREF(Py_None
);
6222 _resultobj
= Py_None
;
6226 #define wxWindow_CaptureMouse(_swigobj) (_swigobj->CaptureMouse())
6227 static PyObject
*_wrap_wxWindow_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
* _resultobj
;
6230 PyObject
* _argo0
= 0;
6231 char *_kwnames
[] = { "self", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_CaptureMouse",_kwnames
,&_argo0
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_CaptureMouse. Expected _wxWindow_p.");
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 wxWindow_CaptureMouse(_arg0
);
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) return NULL
;
6249 } Py_INCREF(Py_None
);
6250 _resultobj
= Py_None
;
6254 #define wxWindow_ReleaseMouse(_swigobj) (_swigobj->ReleaseMouse())
6255 static PyObject
*_wrap_wxWindow_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_ReleaseMouse",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_ReleaseMouse. Expected _wxWindow_p.");
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 wxWindow_ReleaseMouse(_arg0
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) return NULL
;
6277 } Py_INCREF(Py_None
);
6278 _resultobj
= Py_None
;
6282 static PyObject
*_wrap_wxWindow_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
* _resultobj
;
6285 char *_kwnames
[] = { NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWindow_GetCapture",_kwnames
))
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 _result
= (wxWindow
*)wxWindow::GetCapture();
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) return NULL
;
6296 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6300 #define wxWindow_HasCapture(_swigobj) (_swigobj->HasCapture())
6301 static PyObject
*_wrap_wxWindow_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
* _resultobj
;
6305 PyObject
* _argo0
= 0;
6306 char *_kwnames
[] = { "self", NULL
};
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWindow_HasCapture",_kwnames
,&_argo0
))
6312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWindow_HasCapture. Expected _wxWindow_p.");
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 _result
= (bool )wxWindow_HasCapture(_arg0
);
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) return NULL
;
6324 } _resultobj
= Py_BuildValue("i",_result
);
6328 static void *SwigwxPanelTowxWindow(void *ptr
) {
6331 src
= (wxPanel
*) ptr
;
6332 dest
= (wxWindow
*) src
;
6333 return (void *) dest
;
6336 static void *SwigwxPanelTowxEvtHandler(void *ptr
) {
6339 src
= (wxPanel
*) ptr
;
6340 dest
= (wxEvtHandler
*) src
;
6341 return (void *) dest
;
6344 static void *SwigwxPanelTowxObject(void *ptr
) {
6347 src
= (wxPanel
*) ptr
;
6348 dest
= (wxObject
*) src
;
6349 return (void *) dest
;
6352 #define new_wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPanel(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6353 static PyObject
*_wrap_new_wxPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
* _resultobj
;
6358 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6359 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6360 long _arg4
= (long ) wxTAB_TRAVERSAL
;
6361 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6362 PyObject
* _argo0
= 0;
6364 PyObject
* _obj2
= 0;
6366 PyObject
* _obj3
= 0;
6367 PyObject
* _obj5
= 0;
6368 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxPanel",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxPanel. Expected _wxWindow_p.");
6384 if (! wxPoint_helper(_obj2
, &_arg2
))
6390 if (! wxSize_helper(_obj3
, &_arg3
))
6395 _arg5
= wxString_in_helper(_obj5
);
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 _result
= (wxPanel
*)new_wxPanel(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) return NULL
;
6406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6407 _resultobj
= Py_BuildValue("s",_ptemp
);
6410 _resultobj
= Py_None
;
6419 #define new_wxPrePanel() (new wxPanel())
6420 static PyObject
*_wrap_new_wxPrePanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
* _resultobj
;
6423 char *_kwnames
[] = { NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPrePanel",_kwnames
))
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 _result
= (wxPanel
*)new_wxPrePanel();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) return NULL
;
6436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
6437 _resultobj
= Py_BuildValue("s",_ptemp
);
6440 _resultobj
= Py_None
;
6445 #define wxPanel_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6446 static PyObject
*_wrap_wxPanel_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6452 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6453 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6454 long _arg5
= (long ) wxTAB_TRAVERSAL
;
6455 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6456 PyObject
* _argo0
= 0;
6457 PyObject
* _argo1
= 0;
6459 PyObject
* _obj3
= 0;
6461 PyObject
* _obj4
= 0;
6462 PyObject
* _obj6
= 0;
6463 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxPanel_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_Create. Expected _wxPanel_p.");
6476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPanel_Create. Expected _wxWindow_p.");
6485 if (! wxPoint_helper(_obj3
, &_arg3
))
6491 if (! wxSize_helper(_obj4
, &_arg4
))
6496 _arg6
= wxString_in_helper(_obj6
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 _result
= (bool )wxPanel_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) return NULL
;
6506 } _resultobj
= Py_BuildValue("i",_result
);
6514 #define wxPanel_InitDialog(_swigobj) (_swigobj->InitDialog())
6515 static PyObject
*_wrap_wxPanel_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6518 PyObject
* _argo0
= 0;
6519 char *_kwnames
[] = { "self", NULL
};
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPanel_InitDialog",_kwnames
,&_argo0
))
6525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPanel_p")) {
6527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPanel_InitDialog. Expected _wxPanel_p.");
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 wxPanel_InitDialog(_arg0
);
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) return NULL
;
6537 } Py_INCREF(Py_None
);
6538 _resultobj
= Py_None
;
6542 static void *SwigwxScrolledWindowTowxPanel(void *ptr
) {
6543 wxScrolledWindow
*src
;
6545 src
= (wxScrolledWindow
*) ptr
;
6546 dest
= (wxPanel
*) src
;
6547 return (void *) dest
;
6550 static void *SwigwxScrolledWindowTowxWindow(void *ptr
) {
6551 wxScrolledWindow
*src
;
6553 src
= (wxScrolledWindow
*) ptr
;
6554 dest
= (wxWindow
*) src
;
6555 return (void *) dest
;
6558 static void *SwigwxScrolledWindowTowxEvtHandler(void *ptr
) {
6559 wxScrolledWindow
*src
;
6561 src
= (wxScrolledWindow
*) ptr
;
6562 dest
= (wxEvtHandler
*) src
;
6563 return (void *) dest
;
6566 static void *SwigwxScrolledWindowTowxObject(void *ptr
) {
6567 wxScrolledWindow
*src
;
6569 src
= (wxScrolledWindow
*) ptr
;
6570 dest
= (wxObject
*) src
;
6571 return (void *) dest
;
6574 #define new_wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6575 static PyObject
*_wrap_new_wxScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6577 wxScrolledWindow
* _result
;
6579 wxWindowID _arg1
= (wxWindowID
) -1;
6580 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6581 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6582 long _arg4
= (long ) wxHSCROLL
|wxVSCROLL
;
6583 wxString
* _arg5
= (wxString
*) &wxPyPanelNameStr
;
6584 PyObject
* _argo0
= 0;
6586 PyObject
* _obj2
= 0;
6588 PyObject
* _obj3
= 0;
6589 PyObject
* _obj5
= 0;
6590 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrolledWindow. Expected _wxWindow_p.");
6606 if (! wxPoint_helper(_obj2
, &_arg2
))
6612 if (! wxSize_helper(_obj3
, &_arg3
))
6617 _arg5
= wxString_in_helper(_obj5
);
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 _result
= (wxScrolledWindow
*)new_wxScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) return NULL
;
6628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6629 _resultobj
= Py_BuildValue("s",_ptemp
);
6632 _resultobj
= Py_None
;
6641 #define new_wxPreScrolledWindow() (new wxScrolledWindow())
6642 static PyObject
*_wrap_new_wxPreScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6644 wxScrolledWindow
* _result
;
6645 char *_kwnames
[] = { NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrolledWindow",_kwnames
))
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 _result
= (wxScrolledWindow
*)new_wxPreScrolledWindow();
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) return NULL
;
6658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
6659 _resultobj
= Py_BuildValue("s",_ptemp
);
6662 _resultobj
= Py_None
;
6667 #define wxScrolledWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6668 static PyObject
*_wrap_wxScrolledWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6671 wxScrolledWindow
* _arg0
;
6673 wxWindowID _arg2
= (wxWindowID
) -1;
6674 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6675 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6676 long _arg5
= (long ) wxHSCROLL
|wxVSCROLL
;
6677 wxString
* _arg6
= (wxString
*) &wxPyPanelNameStr
;
6678 PyObject
* _argo0
= 0;
6679 PyObject
* _argo1
= 0;
6681 PyObject
* _obj3
= 0;
6683 PyObject
* _obj4
= 0;
6684 PyObject
* _obj6
= 0;
6685 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxScrolledWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Create. Expected _wxScrolledWindow_p.");
6698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_Create. Expected _wxWindow_p.");
6707 if (! wxPoint_helper(_obj3
, &_arg3
))
6713 if (! wxSize_helper(_obj4
, &_arg4
))
6718 _arg6
= wxString_in_helper(_obj6
);
6723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6724 _result
= (bool )wxScrolledWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) return NULL
;
6728 } _resultobj
= Py_BuildValue("i",_result
);
6736 #define wxScrolledWindow_EnableScrolling(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableScrolling(_swigarg0,_swigarg1))
6737 static PyObject
*_wrap_wxScrolledWindow_EnableScrolling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
* _resultobj
;
6739 wxScrolledWindow
* _arg0
;
6742 PyObject
* _argo0
= 0;
6745 char *_kwnames
[] = { "self","xScrolling","yScrolling", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_EnableScrolling",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_EnableScrolling. Expected _wxScrolledWindow_p.");
6757 _arg1
= (bool ) tempbool1
;
6758 _arg2
= (bool ) tempbool2
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 wxScrolledWindow_EnableScrolling(_arg0
,_arg1
,_arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) return NULL
;
6765 } Py_INCREF(Py_None
);
6766 _resultobj
= Py_None
;
6770 #define wxScrolledWindow_GetScrollPageSize(_swigobj,_swigarg0) (_swigobj->GetScrollPageSize(_swigarg0))
6771 static PyObject
*_wrap_wxScrolledWindow_GetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
* _resultobj
;
6774 wxScrolledWindow
* _arg0
;
6776 PyObject
* _argo0
= 0;
6777 char *_kwnames
[] = { "self","orient", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrolledWindow_GetScrollPageSize",_kwnames
,&_argo0
,&_arg1
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPageSize. Expected _wxScrolledWindow_p.");
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 _result
= (int )wxScrolledWindow_GetScrollPageSize(_arg0
,_arg1
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) return NULL
;
6795 } _resultobj
= Py_BuildValue("i",_result
);
6799 #define wxScrolledWindow_GetScrollPixelsPerUnit(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetScrollPixelsPerUnit(_swigarg0,_swigarg1))
6800 static PyObject
*_wrap_wxScrolledWindow_GetScrollPixelsPerUnit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6802 wxScrolledWindow
* _arg0
;
6807 PyObject
* _argo0
= 0;
6808 char *_kwnames
[] = { "self", NULL
};
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScrollPixelsPerUnit",_kwnames
,&_argo0
))
6820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScrollPixelsPerUnit. Expected _wxScrolledWindow_p.");
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 wxScrolledWindow_GetScrollPixelsPerUnit(_arg0
,_arg1
,_arg2
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) return NULL
;
6832 } Py_INCREF(Py_None
);
6833 _resultobj
= Py_None
;
6836 o
= PyInt_FromLong((long) (*_arg1
));
6837 _resultobj
= t_output_helper(_resultobj
, o
);
6841 o
= PyInt_FromLong((long) (*_arg2
));
6842 _resultobj
= t_output_helper(_resultobj
, o
);
6847 #define wxScrolledWindow_GetTargetWindow(_swigobj) (_swigobj->GetTargetWindow())
6848 static PyObject
*_wrap_wxScrolledWindow_GetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
* _resultobj
;
6851 wxScrolledWindow
* _arg0
;
6852 PyObject
* _argo0
= 0;
6853 char *_kwnames
[] = { "self", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetTargetWindow",_kwnames
,&_argo0
))
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_GetTargetWindow. Expected _wxScrolledWindow_p.");
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 _result
= (wxWindow
*)wxScrolledWindow_GetTargetWindow(_arg0
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) return NULL
;
6871 }{ _resultobj
= wxPyMake_wxObject(_result
); }
6875 #define wxScrolledWindow_IsRetained(_swigobj) (_swigobj->IsRetained())
6876 static PyObject
*_wrap_wxScrolledWindow_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
* _resultobj
;
6879 wxScrolledWindow
* _arg0
;
6880 PyObject
* _argo0
= 0;
6881 char *_kwnames
[] = { "self", NULL
};
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_IsRetained",_kwnames
,&_argo0
))
6887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_IsRetained. Expected _wxScrolledWindow_p.");
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 _result
= (bool )wxScrolledWindow_IsRetained(_arg0
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) return NULL
;
6899 } _resultobj
= Py_BuildValue("i",_result
);
6903 #define wxScrolledWindow_PrepareDC(_swigobj,_swigarg0) (_swigobj->PrepareDC(_swigarg0))
6904 static PyObject
*_wrap_wxScrolledWindow_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
* _resultobj
;
6906 wxScrolledWindow
* _arg0
;
6908 PyObject
* _argo0
= 0;
6909 PyObject
* _argo1
= 0;
6910 char *_kwnames
[] = { "self","dc", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_PrepareDC",_kwnames
,&_argo0
,&_argo1
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_PrepareDC. Expected _wxScrolledWindow_p.");
6923 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_PrepareDC. Expected _wxDC_p.");
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxScrolledWindow_PrepareDC(_arg0
,*_arg1
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) return NULL
;
6935 } Py_INCREF(Py_None
);
6936 _resultobj
= Py_None
;
6940 #define wxScrolledWindow_Scroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scroll(_swigarg0,_swigarg1))
6941 static PyObject
*_wrap_wxScrolledWindow_Scroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6943 wxScrolledWindow
* _arg0
;
6946 PyObject
* _argo0
= 0;
6947 char *_kwnames
[] = { "self","x","y", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_Scroll",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Scroll. Expected _wxScrolledWindow_p.");
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 wxScrolledWindow_Scroll(_arg0
,_arg1
,_arg2
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) return NULL
;
6965 } Py_INCREF(Py_None
);
6966 _resultobj
= Py_None
;
6970 #define wxScrolledWindow_SetScrollbars(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->SetScrollbars(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6971 static PyObject
*_wrap_wxScrolledWindow_SetScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
* _resultobj
;
6973 wxScrolledWindow
* _arg0
;
6978 int _arg5
= (int ) 0;
6979 int _arg6
= (int ) 0;
6980 int _arg7
= (int ) FALSE
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self","pixelsPerUnitX","pixelsPerUnitY","noUnitsX","noUnitsY","xPos","yPos","noRefresh", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|iii:wxScrolledWindow_SetScrollbars",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_arg6
,&_arg7
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollbars. Expected _wxScrolledWindow_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 wxScrolledWindow_SetScrollbars(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 } Py_INCREF(Py_None
);
7001 _resultobj
= Py_None
;
7005 #define wxScrolledWindow_SetScrollPageSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollPageSize(_swigarg0,_swigarg1))
7006 static PyObject
*_wrap_wxScrolledWindow_SetScrollPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
* _resultobj
;
7008 wxScrolledWindow
* _arg0
;
7011 PyObject
* _argo0
= 0;
7012 char *_kwnames
[] = { "self","orient","pageSize", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollPageSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollPageSize. Expected _wxScrolledWindow_p.");
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 wxScrolledWindow_SetScrollPageSize(_arg0
,_arg1
,_arg2
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) return NULL
;
7030 } Py_INCREF(Py_None
);
7031 _resultobj
= Py_None
;
7035 #define wxScrolledWindow_SetTargetWindow(_swigobj,_swigarg0) (_swigobj->SetTargetWindow(_swigarg0))
7036 static PyObject
*_wrap_wxScrolledWindow_SetTargetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
* _resultobj
;
7038 wxScrolledWindow
* _arg0
;
7040 PyObject
* _argo0
= 0;
7041 PyObject
* _argo1
= 0;
7042 char *_kwnames
[] = { "self","window", NULL
};
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_SetTargetWindow",_kwnames
,&_argo0
,&_argo1
))
7048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetTargetWindow. Expected _wxScrolledWindow_p.");
7055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrolledWindow_SetTargetWindow. Expected _wxWindow_p.");
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 wxScrolledWindow_SetTargetWindow(_arg0
,_arg1
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) return NULL
;
7067 } Py_INCREF(Py_None
);
7068 _resultobj
= Py_None
;
7072 #define wxScrolledWindow_GetViewStart(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetViewStart(_swigarg0,_swigarg1))
7073 static PyObject
*_wrap_wxScrolledWindow_GetViewStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
* _resultobj
;
7075 wxScrolledWindow
* _arg0
;
7080 PyObject
* _argo0
= 0;
7081 char *_kwnames
[] = { "self", NULL
};
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetViewStart",_kwnames
,&_argo0
))
7093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetViewStart. Expected _wxScrolledWindow_p.");
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxScrolledWindow_GetViewStart(_arg0
,_arg1
,_arg2
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) return NULL
;
7105 } Py_INCREF(Py_None
);
7106 _resultobj
= Py_None
;
7109 o
= PyInt_FromLong((long) (*_arg1
));
7110 _resultobj
= t_output_helper(_resultobj
, o
);
7114 o
= PyInt_FromLong((long) (*_arg2
));
7115 _resultobj
= t_output_helper(_resultobj
, o
);
7120 #define wxScrolledWindow_CalcScrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcScrolledPosition(_swigarg0))
7121 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7124 wxScrolledWindow
* _arg0
;
7126 PyObject
* _argo0
= 0;
7128 PyObject
* _obj1
= 0;
7129 char *_kwnames
[] = { "self","pt", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcScrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition1. Expected _wxScrolledWindow_p.");
7144 if (! wxPoint_helper(_obj1
, &_arg1
))
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 _result
= new wxPoint (wxScrolledWindow_CalcScrolledPosition1(_arg0
,*_arg1
));
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7154 _resultobj
= Py_BuildValue("s",_ptemp
);
7158 #define wxScrolledWindow_CalcScrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcScrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7159 static PyObject
*_wrap_wxScrolledWindow_CalcScrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7161 wxScrolledWindow
* _arg0
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self","x","y", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcScrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcScrolledPosition2. Expected _wxScrolledWindow_p.");
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 wxScrolledWindow_CalcScrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) return NULL
;
7193 } Py_INCREF(Py_None
);
7194 _resultobj
= Py_None
;
7197 o
= PyInt_FromLong((long) (*_arg3
));
7198 _resultobj
= t_output_helper(_resultobj
, o
);
7202 o
= PyInt_FromLong((long) (*_arg4
));
7203 _resultobj
= t_output_helper(_resultobj
, o
);
7208 #define wxScrolledWindow_CalcUnscrolledPosition1(_swigobj,_swigarg0) (_swigobj->CalcUnscrolledPosition(_swigarg0))
7209 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7212 wxScrolledWindow
* _arg0
;
7214 PyObject
* _argo0
= 0;
7216 PyObject
* _obj1
= 0;
7217 char *_kwnames
[] = { "self","pt", NULL
};
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxScrolledWindow_CalcUnscrolledPosition1",_kwnames
,&_argo0
,&_obj1
))
7224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition1. Expected _wxScrolledWindow_p.");
7232 if (! wxPoint_helper(_obj1
, &_arg1
))
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 _result
= new wxPoint (wxScrolledWindow_CalcUnscrolledPosition1(_arg0
,*_arg1
));
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) return NULL
;
7241 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
7242 _resultobj
= Py_BuildValue("s",_ptemp
);
7246 #define wxScrolledWindow_CalcUnscrolledPosition2(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CalcUnscrolledPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7247 static PyObject
*_wrap_wxScrolledWindow_CalcUnscrolledPosition2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7249 wxScrolledWindow
* _arg0
;
7256 PyObject
* _argo0
= 0;
7257 char *_kwnames
[] = { "self","x","y", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_CalcUnscrolledPosition2",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_CalcUnscrolledPosition2. Expected _wxScrolledWindow_p.");
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 wxScrolledWindow_CalcUnscrolledPosition2(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) return NULL
;
7281 } Py_INCREF(Py_None
);
7282 _resultobj
= Py_None
;
7285 o
= PyInt_FromLong((long) (*_arg3
));
7286 _resultobj
= t_output_helper(_resultobj
, o
);
7290 o
= PyInt_FromLong((long) (*_arg4
));
7291 _resultobj
= t_output_helper(_resultobj
, o
);
7296 #define wxScrolledWindow_SetScale(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScale(_swigarg0,_swigarg1))
7297 static PyObject
*_wrap_wxScrolledWindow_SetScale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
* _resultobj
;
7299 wxScrolledWindow
* _arg0
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self","xs","ys", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxScrolledWindow_SetScale",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScale. Expected _wxScrolledWindow_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxScrolledWindow_SetScale(_arg0
,_arg1
,_arg2
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } Py_INCREF(Py_None
);
7322 _resultobj
= Py_None
;
7326 #define wxScrolledWindow_GetScaleX(_swigobj) (_swigobj->GetScaleX())
7327 static PyObject
*_wrap_wxScrolledWindow_GetScaleX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7330 wxScrolledWindow
* _arg0
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleX",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleX. Expected _wxScrolledWindow_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (double )wxScrolledWindow_GetScaleX(_arg0
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("d",_result
);
7354 #define wxScrolledWindow_GetScaleY(_swigobj) (_swigobj->GetScaleY())
7355 static PyObject
*_wrap_wxScrolledWindow_GetScaleY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7358 wxScrolledWindow
* _arg0
;
7359 PyObject
* _argo0
= 0;
7360 char *_kwnames
[] = { "self", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_GetScaleY",_kwnames
,&_argo0
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_GetScaleY. Expected _wxScrolledWindow_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (double )wxScrolledWindow_GetScaleY(_arg0
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("d",_result
);
7382 #define wxScrolledWindow_AdjustScrollbars(_swigobj) (_swigobj->AdjustScrollbars())
7383 static PyObject
*_wrap_wxScrolledWindow_AdjustScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7385 wxScrolledWindow
* _arg0
;
7386 PyObject
* _argo0
= 0;
7387 char *_kwnames
[] = { "self", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_AdjustScrollbars",_kwnames
,&_argo0
))
7393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_AdjustScrollbars. Expected _wxScrolledWindow_p.");
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 wxScrolledWindow_AdjustScrollbars(_arg0
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) return NULL
;
7405 } Py_INCREF(Py_None
);
7406 _resultobj
= Py_None
;
7410 #define wxScrolledWindow_Layout(_swigobj) (_swigobj->Layout())
7411 static PyObject
*_wrap_wxScrolledWindow_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7414 wxScrolledWindow
* _arg0
;
7415 PyObject
* _argo0
= 0;
7416 char *_kwnames
[] = { "self", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrolledWindow_Layout",_kwnames
,&_argo0
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_Layout. Expected _wxScrolledWindow_p.");
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 _result
= (bool )wxScrolledWindow_Layout(_arg0
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } _resultobj
= Py_BuildValue("i",_result
);
7438 #define wxScrolledWindow_SetScrollRate(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetScrollRate(_swigarg0,_swigarg1))
7439 static PyObject
*_wrap_wxScrolledWindow_SetScrollRate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7441 wxScrolledWindow
* _arg0
;
7444 PyObject
* _argo0
= 0;
7445 char *_kwnames
[] = { "self","xstep","ystep", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxScrolledWindow_SetScrollRate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrolledWindow_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrolledWindow_SetScrollRate. Expected _wxScrolledWindow_p.");
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 wxScrolledWindow_SetScrollRate(_arg0
,_arg1
,_arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) return NULL
;
7463 } Py_INCREF(Py_None
);
7464 _resultobj
= Py_None
;
7468 static void *SwigwxMenuTowxEvtHandler(void *ptr
) {
7471 src
= (wxMenu
*) ptr
;
7472 dest
= (wxEvtHandler
*) src
;
7473 return (void *) dest
;
7476 static void *SwigwxMenuTowxObject(void *ptr
) {
7479 src
= (wxMenu
*) ptr
;
7480 dest
= (wxObject
*) src
;
7481 return (void *) dest
;
7484 #define new_wxMenu(_swigarg0,_swigarg1) (new wxMenu(_swigarg0,_swigarg1))
7485 static PyObject
*_wrap_new_wxMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7488 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
7489 long _arg1
= (long ) 0;
7490 PyObject
* _obj0
= 0;
7491 char *_kwnames
[] = { "title","style", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Ol:new_wxMenu",_kwnames
,&_obj0
,&_arg1
))
7499 _arg0
= wxString_in_helper(_obj0
);
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 _result
= (wxMenu
*)new_wxMenu(*_arg0
,_arg1
);
7507 wxPyEndAllowThreads(__tstate
);
7508 if (PyErr_Occurred()) return NULL
;
7510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
7511 _resultobj
= Py_BuildValue("s",_ptemp
);
7514 _resultobj
= Py_None
;
7523 #define wxMenu_Append(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7524 static PyObject
*_wrap_wxMenu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
* _resultobj
;
7529 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7530 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
7531 PyObject
* _argo0
= 0;
7532 PyObject
* _obj2
= 0;
7533 PyObject
* _obj3
= 0;
7534 char *_kwnames
[] = { "self","id","item","helpString","kind", NULL
};
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Append",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
7540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Append. Expected _wxMenu_p.");
7547 _arg2
= wxString_in_helper(_obj2
);
7553 _arg3
= wxString_in_helper(_obj3
);
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 wxMenu_Append(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } Py_INCREF(Py_None
);
7564 _resultobj
= Py_None
;
7576 #define wxMenu_AppendMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Append(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7577 static PyObject
*_wrap_wxMenu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
* _resultobj
;
7583 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7584 PyObject
* _argo0
= 0;
7585 PyObject
* _obj2
= 0;
7586 PyObject
* _argo3
= 0;
7587 PyObject
* _obj4
= 0;
7588 char *_kwnames
[] = { "self","id","item","subMenu","helpString", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_AppendMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7601 _arg2
= wxString_in_helper(_obj2
);
7606 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_AppendMenu. Expected _wxMenu_p.");
7614 _arg4
= wxString_in_helper(_obj4
);
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 wxMenu_AppendMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) return NULL
;
7624 } Py_INCREF(Py_None
);
7625 _resultobj
= Py_None
;
7637 #define wxMenu_AppendItem(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
7638 static PyObject
*_wrap_wxMenu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
* _resultobj
;
7642 PyObject
* _argo0
= 0;
7643 PyObject
* _argo1
= 0;
7644 char *_kwnames
[] = { "self","item", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_AppendItem",_kwnames
,&_argo0
,&_argo1
))
7650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendItem. Expected _wxMenu_p.");
7657 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7658 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
7659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_AppendItem. Expected _wxMenuItem_p.");
7664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7665 wxMenu_AppendItem(_arg0
,_arg1
);
7667 wxPyEndAllowThreads(__tstate
);
7668 if (PyErr_Occurred()) return NULL
;
7669 } Py_INCREF(Py_None
);
7670 _resultobj
= Py_None
;
7674 #define wxMenu_AppendCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendCheckItem(_swigarg0,_swigarg1,_swigarg2))
7675 static PyObject
*_wrap_wxMenu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
* _resultobj
;
7680 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7681 PyObject
* _argo0
= 0;
7682 PyObject
* _obj2
= 0;
7683 PyObject
* _obj3
= 0;
7684 char *_kwnames
[] = { "self","id","text","help", NULL
};
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendCheckItem. Expected _wxMenu_p.");
7697 _arg2
= wxString_in_helper(_obj2
);
7703 _arg3
= wxString_in_helper(_obj3
);
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 wxMenu_AppendCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) return NULL
;
7713 } Py_INCREF(Py_None
);
7714 _resultobj
= Py_None
;
7726 #define wxMenu_AppendRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AppendRadioItem(_swigarg0,_swigarg1,_swigarg2))
7727 static PyObject
*_wrap_wxMenu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
* _resultobj
;
7732 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7733 PyObject
* _argo0
= 0;
7734 PyObject
* _obj2
= 0;
7735 PyObject
* _obj3
= 0;
7736 char *_kwnames
[] = { "self","id","text","help", NULL
};
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_AppendRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
7742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendRadioItem. Expected _wxMenu_p.");
7749 _arg2
= wxString_in_helper(_obj2
);
7755 _arg3
= wxString_in_helper(_obj3
);
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 wxMenu_AppendRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) return NULL
;
7765 } Py_INCREF(Py_None
);
7766 _resultobj
= Py_None
;
7778 #define wxMenu_AppendSeparator(_swigobj) (_swigobj->AppendSeparator())
7779 static PyObject
*_wrap_wxMenu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7782 PyObject
* _argo0
= 0;
7783 char *_kwnames
[] = { "self", NULL
};
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_AppendSeparator",_kwnames
,&_argo0
))
7789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_AppendSeparator. Expected _wxMenu_p.");
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 wxMenu_AppendSeparator(_arg0
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) return NULL
;
7801 } Py_INCREF(Py_None
);
7802 _resultobj
= Py_None
;
7806 #define wxMenu_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7807 static PyObject
*_wrap_wxMenu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
* _resultobj
;
7813 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7814 wxItemKind _arg5
= (wxItemKind
) wxITEM_NORMAL
;
7815 PyObject
* _argo0
= 0;
7816 PyObject
* _obj3
= 0;
7817 PyObject
* _obj4
= 0;
7818 char *_kwnames
[] = { "self","pos","id","text","help","kind", NULL
};
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|Oi:wxMenu_Insert",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
7824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Insert. Expected _wxMenu_p.");
7831 _arg3
= wxString_in_helper(_obj3
);
7837 _arg4
= wxString_in_helper(_obj4
);
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 wxMenu_Insert(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7847 } Py_INCREF(Py_None
);
7848 _resultobj
= Py_None
;
7860 #define wxMenu_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
7861 static PyObject
*_wrap_wxMenu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
* _resultobj
;
7865 PyObject
* _argo0
= 0;
7866 char *_kwnames
[] = { "self","pos", NULL
};
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
7872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertSeparator. Expected _wxMenu_p.");
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 wxMenu_InsertSeparator(_arg0
,_arg1
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) return NULL
;
7884 } Py_INCREF(Py_None
);
7885 _resultobj
= Py_None
;
7889 #define wxMenu_InsertCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertCheckItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7890 static PyObject
*_wrap_wxMenu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7896 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7897 PyObject
* _argo0
= 0;
7898 PyObject
* _obj3
= 0;
7899 PyObject
* _obj4
= 0;
7900 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertCheckItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertCheckItem. Expected _wxMenu_p.");
7913 _arg3
= wxString_in_helper(_obj3
);
7919 _arg4
= wxString_in_helper(_obj4
);
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 wxMenu_InsertCheckItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) return NULL
;
7929 } Py_INCREF(Py_None
);
7930 _resultobj
= Py_None
;
7942 #define wxMenu_InsertRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertRadioItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7943 static PyObject
*_wrap_wxMenu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
* _resultobj
;
7949 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
7950 PyObject
* _argo0
= 0;
7951 PyObject
* _obj3
= 0;
7952 PyObject
* _obj4
= 0;
7953 char *_kwnames
[] = { "self","pos","id","text","help", NULL
};
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|O:wxMenu_InsertRadioItem",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
))
7959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
7961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertRadioItem. Expected _wxMenu_p.");
7966 _arg3
= wxString_in_helper(_obj3
);
7972 _arg4
= wxString_in_helper(_obj4
);
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 wxMenu_InsertRadioItem(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) return NULL
;
7982 } Py_INCREF(Py_None
);
7983 _resultobj
= Py_None
;
7995 #define wxMenu_InsertMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7996 static PyObject
*_wrap_wxMenu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
8003 wxString
* _arg5
= (wxString
*) &wxPyEmptyString
;
8004 PyObject
* _argo0
= 0;
8005 PyObject
* _obj3
= 0;
8006 PyObject
* _argo4
= 0;
8007 PyObject
* _obj5
= 0;
8008 char *_kwnames
[] = { "self","pos","id","text","submenu","help", NULL
};
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiOO|O:wxMenu_InsertMenu",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_argo4
,&_obj5
))
8014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8021 _arg3
= wxString_in_helper(_obj3
);
8026 if (_argo4
== Py_None
) { _arg4
= NULL
; }
8027 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxMenu_p")) {
8028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxMenu_InsertMenu. Expected _wxMenu_p.");
8034 _arg5
= wxString_in_helper(_obj5
);
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxMenu_InsertMenu(_arg0
,_arg1
,_arg2
,*_arg3
,_arg4
,*_arg5
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) return NULL
;
8044 } Py_INCREF(Py_None
);
8045 _resultobj
= Py_None
;
8057 #define wxMenu_InsertItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Insert(_swigarg0,_swigarg1))
8058 static PyObject
*_wrap_wxMenu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
* _resultobj
;
8064 PyObject
* _argo0
= 0;
8065 PyObject
* _argo2
= 0;
8066 char *_kwnames
[] = { "self","pos","item", NULL
};
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_InsertItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_InsertItem. Expected _wxMenu_p.");
8079 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8080 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenuItem_p")) {
8081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenu_InsertItem. Expected _wxMenuItem_p.");
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 _result
= (bool )wxMenu_InsertItem(_arg0
,_arg1
,_arg2
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8091 } _resultobj
= Py_BuildValue("i",_result
);
8095 #define wxMenu_Prepend(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8096 static PyObject
*_wrap_wxMenu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8101 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8102 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
8103 PyObject
* _argo0
= 0;
8104 PyObject
* _obj2
= 0;
8105 PyObject
* _obj3
= 0;
8106 char *_kwnames
[] = { "self","id","text","help","kind", NULL
};
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|Oi:wxMenu_Prepend",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
8112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Prepend. Expected _wxMenu_p.");
8119 _arg2
= wxString_in_helper(_obj2
);
8125 _arg3
= wxString_in_helper(_obj3
);
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 wxMenu_Prepend(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8135 } Py_INCREF(Py_None
);
8136 _resultobj
= Py_None
;
8148 #define wxMenu_PrependSeparator(_swigobj) (_swigobj->PrependSeparator())
8149 static PyObject
*_wrap_wxMenu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
* _resultobj
;
8152 PyObject
* _argo0
= 0;
8153 char *_kwnames
[] = { "self", NULL
};
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_PrependSeparator",_kwnames
,&_argo0
))
8159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependSeparator. Expected _wxMenu_p.");
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 wxMenu_PrependSeparator(_arg0
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) return NULL
;
8171 } Py_INCREF(Py_None
);
8172 _resultobj
= Py_None
;
8176 #define wxMenu_PrependCheckItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependCheckItem(_swigarg0,_swigarg1,_swigarg2))
8177 static PyObject
*_wrap_wxMenu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
* _resultobj
;
8182 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8183 PyObject
* _argo0
= 0;
8184 PyObject
* _obj2
= 0;
8185 PyObject
* _obj3
= 0;
8186 char *_kwnames
[] = { "self","id","text","help", NULL
};
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependCheckItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependCheckItem. Expected _wxMenu_p.");
8199 _arg2
= wxString_in_helper(_obj2
);
8205 _arg3
= wxString_in_helper(_obj3
);
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 wxMenu_PrependCheckItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8215 } Py_INCREF(Py_None
);
8216 _resultobj
= Py_None
;
8228 #define wxMenu_PrependRadioItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PrependRadioItem(_swigarg0,_swigarg1,_swigarg2))
8229 static PyObject
*_wrap_wxMenu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
* _resultobj
;
8234 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
8235 PyObject
* _argo0
= 0;
8236 PyObject
* _obj2
= 0;
8237 PyObject
* _obj3
= 0;
8238 char *_kwnames
[] = { "self","id","text","help", NULL
};
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|O:wxMenu_PrependRadioItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
))
8244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependRadioItem. Expected _wxMenu_p.");
8251 _arg2
= wxString_in_helper(_obj2
);
8257 _arg3
= wxString_in_helper(_obj3
);
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 wxMenu_PrependRadioItem(_arg0
,_arg1
,*_arg2
,*_arg3
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) return NULL
;
8267 } Py_INCREF(Py_None
);
8268 _resultobj
= Py_None
;
8280 #define wxMenu_PrependMenu(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Prepend(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8281 static PyObject
*_wrap_wxMenu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
* _resultobj
;
8287 wxString
* _arg4
= (wxString
*) &wxPyEmptyString
;
8288 PyObject
* _argo0
= 0;
8289 PyObject
* _obj2
= 0;
8290 PyObject
* _argo3
= 0;
8291 PyObject
* _obj4
= 0;
8292 char *_kwnames
[] = { "self","id","text","submenu","help", NULL
};
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO|O:wxMenu_PrependMenu",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_obj4
))
8298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8305 _arg2
= wxString_in_helper(_obj2
);
8310 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxMenu_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMenu_PrependMenu. Expected _wxMenu_p.");
8318 _arg4
= wxString_in_helper(_obj4
);
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 wxMenu_PrependMenu(_arg0
,_arg1
,*_arg2
,_arg3
,*_arg4
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8328 } Py_INCREF(Py_None
);
8329 _resultobj
= Py_None
;
8341 #define wxMenu_PrependItem(_swigobj,_swigarg0) (_swigobj->Prepend(_swigarg0))
8342 static PyObject
*_wrap_wxMenu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
* _resultobj
;
8346 PyObject
* _argo0
= 0;
8347 PyObject
* _argo1
= 0;
8348 char *_kwnames
[] = { "self","item", NULL
};
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_PrependItem",_kwnames
,&_argo0
,&_argo1
))
8354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_PrependItem. Expected _wxMenu_p.");
8361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_PrependItem. Expected _wxMenuItem_p.");
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 wxMenu_PrependItem(_arg0
,_arg1
);
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) return NULL
;
8373 } Py_INCREF(Py_None
);
8374 _resultobj
= Py_None
;
8378 #define wxMenu_Break(_swigobj) (_swigobj->Break())
8379 static PyObject
*_wrap_wxMenu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
* _resultobj
;
8382 PyObject
* _argo0
= 0;
8383 char *_kwnames
[] = { "self", NULL
};
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Break",_kwnames
,&_argo0
))
8389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Break. Expected _wxMenu_p.");
8396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8397 wxMenu_Break(_arg0
);
8399 wxPyEndAllowThreads(__tstate
);
8400 if (PyErr_Occurred()) return NULL
;
8401 } Py_INCREF(Py_None
);
8402 _resultobj
= Py_None
;
8406 #define wxMenu_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
8407 static PyObject
*_wrap_wxMenu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
* _resultobj
;
8412 PyObject
* _argo0
= 0;
8414 char *_kwnames
[] = { "self","id","flag", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Check. Expected _wxMenu_p.");
8426 _arg2
= (bool ) tempbool2
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxMenu_Check(_arg0
,_arg1
,_arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) return NULL
;
8433 } Py_INCREF(Py_None
);
8434 _resultobj
= Py_None
;
8438 #define wxMenu_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
8439 static PyObject
*_wrap_wxMenu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
* _resultobj
;
8444 PyObject
* _argo0
= 0;
8445 char *_kwnames
[] = { "self","id", NULL
};
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsChecked",_kwnames
,&_argo0
,&_arg1
))
8451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsChecked. Expected _wxMenu_p.");
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 _result
= (bool )wxMenu_IsChecked(_arg0
,_arg1
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) return NULL
;
8463 } _resultobj
= Py_BuildValue("i",_result
);
8467 #define wxMenu_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8468 static PyObject
*_wrap_wxMenu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8469 PyObject
* _resultobj
;
8473 PyObject
* _argo0
= 0;
8475 char *_kwnames
[] = { "self","id","enable", NULL
};
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenu_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Enable. Expected _wxMenu_p.");
8487 _arg2
= (bool ) tempbool2
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 wxMenu_Enable(_arg0
,_arg1
,_arg2
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) return NULL
;
8494 } Py_INCREF(Py_None
);
8495 _resultobj
= Py_None
;
8499 #define wxMenu_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
8500 static PyObject
*_wrap_wxMenu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
* _resultobj
;
8505 PyObject
* _argo0
= 0;
8506 char *_kwnames
[] = { "self","id", NULL
};
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
8512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsEnabled. Expected _wxMenu_p.");
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 _result
= (bool )wxMenu_IsEnabled(_arg0
,_arg1
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) return NULL
;
8524 } _resultobj
= Py_BuildValue("i",_result
);
8528 #define wxMenu_FindItem(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8529 static PyObject
*_wrap_wxMenu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
* _resultobj
;
8534 PyObject
* _argo0
= 0;
8535 PyObject
* _obj1
= 0;
8536 char *_kwnames
[] = { "self","itemString", NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_FindItem",_kwnames
,&_argo0
,&_obj1
))
8542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItem. Expected _wxMenu_p.");
8549 _arg1
= wxString_in_helper(_obj1
);
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 _result
= (int )wxMenu_FindItem(_arg0
,*_arg1
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) return NULL
;
8559 } _resultobj
= Py_BuildValue("i",_result
);
8567 #define wxMenu_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
8568 static PyObject
*_wrap_wxMenu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
* _resultobj
;
8570 wxMenuItem
* _result
;
8573 PyObject
* _argo0
= 0;
8574 char *_kwnames
[] = { "self","id", NULL
};
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_FindItemById",_kwnames
,&_argo0
,&_arg1
))
8580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_FindItemById. Expected _wxMenu_p.");
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 _result
= (wxMenuItem
*)wxMenu_FindItemById(_arg0
,_arg1
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) return NULL
;
8592 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8596 #define wxMenu_GetTitle(_swigobj) (_swigobj->GetTitle())
8597 static PyObject
*_wrap_wxMenu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
* _resultobj
;
8601 PyObject
* _argo0
= 0;
8602 char *_kwnames
[] = { "self", NULL
};
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetTitle",_kwnames
,&_argo0
))
8608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetTitle. Expected _wxMenu_p.");
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 _result
= new wxString (wxMenu_GetTitle(_arg0
));
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) return NULL
;
8622 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8624 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8633 #define wxMenu_SetTitle(_swigobj,_swigarg0) (_swigobj->SetTitle(_swigarg0))
8634 static PyObject
*_wrap_wxMenu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
* _resultobj
;
8638 PyObject
* _argo0
= 0;
8639 PyObject
* _obj1
= 0;
8640 char *_kwnames
[] = { "self","title", NULL
};
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetTitle",_kwnames
,&_argo0
,&_obj1
))
8646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetTitle. Expected _wxMenu_p.");
8653 _arg1
= wxString_in_helper(_obj1
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 wxMenu_SetTitle(_arg0
,*_arg1
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) return NULL
;
8663 } Py_INCREF(Py_None
);
8664 _resultobj
= Py_None
;
8672 #define wxMenu_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8673 static PyObject
*_wrap_wxMenu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
* _resultobj
;
8678 PyObject
* _argo0
= 0;
8679 char *_kwnames
[] = { "self","id", NULL
};
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetLabel",_kwnames
,&_argo0
,&_arg1
))
8685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetLabel. Expected _wxMenu_p.");
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 _result
= new wxString (wxMenu_GetLabel(_arg0
,_arg1
));
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) return NULL
;
8699 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8701 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8710 #define wxMenu_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8711 static PyObject
*_wrap_wxMenu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
* _resultobj
;
8716 PyObject
* _argo0
= 0;
8717 PyObject
* _obj2
= 0;
8718 char *_kwnames
[] = { "self","id","label", NULL
};
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetLabel. Expected _wxMenu_p.");
8731 _arg2
= wxString_in_helper(_obj2
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 wxMenu_SetLabel(_arg0
,_arg1
,*_arg2
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) return NULL
;
8741 } Py_INCREF(Py_None
);
8742 _resultobj
= Py_None
;
8750 #define wxMenu_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
8751 static PyObject
*_wrap_wxMenu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8756 PyObject
* _argo0
= 0;
8757 char *_kwnames
[] = { "self","id", NULL
};
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
8763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetHelpString. Expected _wxMenu_p.");
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 _result
= new wxString (wxMenu_GetHelpString(_arg0
,_arg1
));
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) return NULL
;
8777 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8779 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8788 #define wxMenu_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
8789 static PyObject
*_wrap_wxMenu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
* _resultobj
;
8794 PyObject
* _argo0
= 0;
8795 PyObject
* _obj2
= 0;
8796 char *_kwnames
[] = { "self","id","helpString", NULL
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenu_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetHelpString. Expected _wxMenu_p.");
8809 _arg2
= wxString_in_helper(_obj2
);
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 wxMenu_SetHelpString(_arg0
,_arg1
,*_arg2
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) return NULL
;
8819 } Py_INCREF(Py_None
);
8820 _resultobj
= Py_None
;
8828 #define wxMenu_UpdateUI(_swigobj,_swigarg0) (_swigobj->UpdateUI(_swigarg0))
8829 static PyObject
*_wrap_wxMenu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
* _resultobj
;
8832 wxEvtHandler
* _arg1
= (wxEvtHandler
*) NULL
;
8833 PyObject
* _argo0
= 0;
8834 PyObject
* _argo1
= 0;
8835 char *_kwnames
[] = { "self","source", NULL
};
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxMenu_UpdateUI",_kwnames
,&_argo0
,&_argo1
))
8841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_UpdateUI. Expected _wxMenu_p.");
8848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
8850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_UpdateUI. Expected _wxEvtHandler_p.");
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 wxMenu_UpdateUI(_arg0
,_arg1
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) return NULL
;
8860 } Py_INCREF(Py_None
);
8861 _resultobj
= Py_None
;
8865 #define wxMenu_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8866 static PyObject
*_wrap_wxMenu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
* _resultobj
;
8871 PyObject
* _argo0
= 0;
8872 char *_kwnames
[] = { "self","id", NULL
};
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Delete",_kwnames
,&_argo0
,&_arg1
))
8878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Delete. Expected _wxMenu_p.");
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 _result
= (bool )wxMenu_Delete(_arg0
,_arg1
);
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) return NULL
;
8890 } _resultobj
= Py_BuildValue("i",_result
);
8894 #define wxMenu_DeleteItem(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
8895 static PyObject
*_wrap_wxMenu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8900 PyObject
* _argo0
= 0;
8901 PyObject
* _argo1
= 0;
8902 char *_kwnames
[] = { "self","item", NULL
};
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DeleteItem",_kwnames
,&_argo0
,&_argo1
))
8908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DeleteItem. Expected _wxMenu_p.");
8915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DeleteItem. Expected _wxMenuItem_p.");
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 _result
= (bool )wxMenu_DeleteItem(_arg0
,_arg1
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) return NULL
;
8927 } _resultobj
= Py_BuildValue("i",_result
);
8931 #define wxMenu_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8932 static PyObject
*_wrap_wxMenu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8934 wxMenuItem
* _result
;
8937 PyObject
* _argo0
= 0;
8938 char *_kwnames
[] = { "self","id", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_Remove",_kwnames
,&_argo0
,&_arg1
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Remove. Expected _wxMenu_p.");
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 _result
= (wxMenuItem
*)wxMenu_Remove(_arg0
,_arg1
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) return NULL
;
8956 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8960 #define wxMenu_RemoveItem(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
8961 static PyObject
*_wrap_wxMenu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
* _resultobj
;
8963 wxMenuItem
* _result
;
8966 PyObject
* _argo0
= 0;
8967 PyObject
* _argo1
= 0;
8968 char *_kwnames
[] = { "self","item", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_RemoveItem",_kwnames
,&_argo0
,&_argo1
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_RemoveItem. Expected _wxMenu_p.");
8981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
8983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_RemoveItem. Expected _wxMenuItem_p.");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 _result
= (wxMenuItem
*)wxMenu_RemoveItem(_arg0
,_arg1
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) return NULL
;
8993 }{ _resultobj
= wxPyMake_wxObject(_result
); }
8997 static void wxMenu_Destroy(wxMenu
*self
) { delete self
; }
8998 static PyObject
*_wrap_wxMenu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
* _resultobj
;
9001 PyObject
* _argo0
= 0;
9002 char *_kwnames
[] = { "self", NULL
};
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_Destroy",_kwnames
,&_argo0
))
9008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_Destroy. Expected _wxMenu_p.");
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 wxMenu_Destroy(_arg0
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) return NULL
;
9020 } Py_INCREF(Py_None
);
9021 _resultobj
= Py_None
;
9025 #define wxMenu_DestroyId(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9026 static PyObject
*_wrap_wxMenu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
* _resultobj
;
9031 PyObject
* _argo0
= 0;
9032 char *_kwnames
[] = { "self","id", NULL
};
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenu_DestroyId",_kwnames
,&_argo0
,&_arg1
))
9038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyId. Expected _wxMenu_p.");
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 _result
= (bool )wxMenu_DestroyId(_arg0
,_arg1
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) return NULL
;
9050 } _resultobj
= Py_BuildValue("i",_result
);
9054 #define wxMenu_DestroyItem(_swigobj,_swigarg0) (_swigobj->Destroy(_swigarg0))
9055 static PyObject
*_wrap_wxMenu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
* _resultobj
;
9060 PyObject
* _argo0
= 0;
9061 PyObject
* _argo1
= 0;
9062 char *_kwnames
[] = { "self","item", NULL
};
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_DestroyItem",_kwnames
,&_argo0
,&_argo1
))
9068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_DestroyItem. Expected _wxMenu_p.");
9075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenuItem_p")) {
9077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_DestroyItem. Expected _wxMenuItem_p.");
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 _result
= (bool )wxMenu_DestroyItem(_arg0
,_arg1
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) return NULL
;
9087 } _resultobj
= Py_BuildValue("i",_result
);
9091 #define wxMenu_GetMenuItemCount(_swigobj) (_swigobj->GetMenuItemCount())
9092 static PyObject
*_wrap_wxMenu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
* _resultobj
;
9096 PyObject
* _argo0
= 0;
9097 char *_kwnames
[] = { "self", NULL
};
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItemCount",_kwnames
,&_argo0
))
9103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItemCount. Expected _wxMenu_p.");
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 _result
= (size_t )wxMenu_GetMenuItemCount(_arg0
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) return NULL
;
9115 } _resultobj
= Py_BuildValue("i",_result
);
9119 static PyObject
* wxMenu_GetMenuItems(wxMenu
*self
) {
9120 wxMenuItemList
& list
= self
->GetMenuItems();
9121 return wxPy_ConvertList(&list
, "wxMenuItem");
9123 static PyObject
*_wrap_wxMenu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9127 PyObject
* _argo0
= 0;
9128 char *_kwnames
[] = { "self", NULL
};
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetMenuItems",_kwnames
,&_argo0
))
9134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetMenuItems. Expected _wxMenu_p.");
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 _result
= (PyObject
*)wxMenu_GetMenuItems(_arg0
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) return NULL
;
9147 _resultobj
= _result
;
9152 #define wxMenu_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0))
9153 static PyObject
*_wrap_wxMenu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
* _resultobj
;
9156 wxEvtHandler
* _arg1
;
9157 PyObject
* _argo0
= 0;
9158 PyObject
* _argo1
= 0;
9159 char *_kwnames
[] = { "self","handler", NULL
};
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetEventHandler",_kwnames
,&_argo0
,&_argo1
))
9165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetEventHandler. Expected _wxMenu_p.");
9172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
9174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetEventHandler. Expected _wxEvtHandler_p.");
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 wxMenu_SetEventHandler(_arg0
,_arg1
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) return NULL
;
9184 } Py_INCREF(Py_None
);
9185 _resultobj
= Py_None
;
9189 #define wxMenu_GetEventHandler(_swigobj) (_swigobj->GetEventHandler())
9190 static PyObject
*_wrap_wxMenu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
* _resultobj
;
9192 wxEvtHandler
* _result
;
9194 PyObject
* _argo0
= 0;
9195 char *_kwnames
[] = { "self", NULL
};
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetEventHandler",_kwnames
,&_argo0
))
9201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetEventHandler. Expected _wxMenu_p.");
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 _result
= (wxEvtHandler
*)wxMenu_GetEventHandler(_arg0
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) return NULL
;
9213 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9217 #define wxMenu_SetInvokingWindow(_swigobj,_swigarg0) (_swigobj->SetInvokingWindow(_swigarg0))
9218 static PyObject
*_wrap_wxMenu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
* _resultobj
;
9222 PyObject
* _argo0
= 0;
9223 PyObject
* _argo1
= 0;
9224 char *_kwnames
[] = { "self","win", NULL
};
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetInvokingWindow",_kwnames
,&_argo0
,&_argo1
))
9230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetInvokingWindow. Expected _wxMenu_p.");
9237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetInvokingWindow. Expected _wxWindow_p.");
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxMenu_SetInvokingWindow(_arg0
,_arg1
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) return NULL
;
9249 } Py_INCREF(Py_None
);
9250 _resultobj
= Py_None
;
9254 #define wxMenu_GetInvokingWindow(_swigobj) (_swigobj->GetInvokingWindow())
9255 static PyObject
*_wrap_wxMenu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
* _resultobj
;
9259 PyObject
* _argo0
= 0;
9260 char *_kwnames
[] = { "self", NULL
};
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetInvokingWindow",_kwnames
,&_argo0
))
9266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetInvokingWindow. Expected _wxMenu_p.");
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 _result
= (wxWindow
*)wxMenu_GetInvokingWindow(_arg0
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) return NULL
;
9278 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9282 #define wxMenu_GetStyle(_swigobj) (_swigobj->GetStyle())
9283 static PyObject
*_wrap_wxMenu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
* _resultobj
;
9287 PyObject
* _argo0
= 0;
9288 char *_kwnames
[] = { "self", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetStyle",_kwnames
,&_argo0
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetStyle. Expected _wxMenu_p.");
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 _result
= (long )wxMenu_GetStyle(_arg0
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) return NULL
;
9306 } _resultobj
= Py_BuildValue("l",_result
);
9310 #define wxMenu_IsAttached(_swigobj) (_swigobj->IsAttached())
9311 static PyObject
*_wrap_wxMenu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
* _resultobj
;
9315 PyObject
* _argo0
= 0;
9316 char *_kwnames
[] = { "self", NULL
};
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_IsAttached",_kwnames
,&_argo0
))
9322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_IsAttached. Expected _wxMenu_p.");
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 _result
= (bool )wxMenu_IsAttached(_arg0
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) return NULL
;
9334 } _resultobj
= Py_BuildValue("i",_result
);
9338 #define wxMenu_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0))
9339 static PyObject
*_wrap_wxMenu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
* _resultobj
;
9343 PyObject
* _argo0
= 0;
9344 PyObject
* _argo1
= 0;
9345 char *_kwnames
[] = { "self","parent", NULL
};
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenu_SetParent",_kwnames
,&_argo0
,&_argo1
))
9351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_SetParent. Expected _wxMenu_p.");
9358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenu_SetParent. Expected _wxMenu_p.");
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 wxMenu_SetParent(_arg0
,_arg1
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) return NULL
;
9370 } Py_INCREF(Py_None
);
9371 _resultobj
= Py_None
;
9375 #define wxMenu_GetParent(_swigobj) (_swigobj->GetParent())
9376 static PyObject
*_wrap_wxMenu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
* _resultobj
;
9380 PyObject
* _argo0
= 0;
9381 char *_kwnames
[] = { "self", NULL
};
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenu_GetParent",_kwnames
,&_argo0
))
9387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
9389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenu_GetParent. Expected _wxMenu_p.");
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 _result
= (wxMenu
*)wxMenu_GetParent(_arg0
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) return NULL
;
9399 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9403 static void *SwigwxMenuBarTowxWindow(void *ptr
) {
9406 src
= (wxMenuBar
*) ptr
;
9407 dest
= (wxWindow
*) src
;
9408 return (void *) dest
;
9411 static void *SwigwxMenuBarTowxEvtHandler(void *ptr
) {
9414 src
= (wxMenuBar
*) ptr
;
9415 dest
= (wxEvtHandler
*) src
;
9416 return (void *) dest
;
9419 static void *SwigwxMenuBarTowxObject(void *ptr
) {
9422 src
= (wxMenuBar
*) ptr
;
9423 dest
= (wxObject
*) src
;
9424 return (void *) dest
;
9427 #define new_wxMenuBar(_swigarg0) (new wxMenuBar(_swigarg0))
9428 static PyObject
*_wrap_new_wxMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
* _resultobj
;
9430 wxMenuBar
* _result
;
9431 long _arg0
= (long ) 0;
9432 char *_kwnames
[] = { "style", NULL
};
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:new_wxMenuBar",_kwnames
,&_arg0
))
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 _result
= (wxMenuBar
*)new_wxMenuBar(_arg0
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) return NULL
;
9445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
9446 _resultobj
= Py_BuildValue("s",_ptemp
);
9449 _resultobj
= Py_None
;
9454 #define wxMenuBar_Append(_swigobj,_swigarg0,_swigarg1) (_swigobj->Append(_swigarg0,_swigarg1))
9455 static PyObject
*_wrap_wxMenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
* _resultobj
;
9461 PyObject
* _argo0
= 0;
9462 PyObject
* _argo1
= 0;
9463 PyObject
* _obj2
= 0;
9464 char *_kwnames
[] = { "self","menu","title", NULL
};
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_Append",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
9470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Append. Expected _wxMenuBar_p.");
9477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuBar_Append. Expected _wxMenu_p.");
9484 _arg2
= wxString_in_helper(_obj2
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 _result
= (bool )wxMenuBar_Append(_arg0
,_arg1
,*_arg2
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) return NULL
;
9494 } _resultobj
= Py_BuildValue("i",_result
);
9502 #define wxMenuBar_Insert(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Insert(_swigarg0,_swigarg1,_swigarg2))
9503 static PyObject
*_wrap_wxMenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
* _resultobj
;
9510 PyObject
* _argo0
= 0;
9511 PyObject
* _argo2
= 0;
9512 PyObject
* _obj3
= 0;
9513 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Insert",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Insert. Expected _wxMenuBar_p.");
9526 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Insert. Expected _wxMenu_p.");
9533 _arg3
= wxString_in_helper(_obj3
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 _result
= (bool )wxMenuBar_Insert(_arg0
,_arg1
,_arg2
,*_arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) return NULL
;
9543 } _resultobj
= Py_BuildValue("i",_result
);
9551 #define wxMenuBar_GetMenuCount(_swigobj) (_swigobj->GetMenuCount())
9552 static PyObject
*_wrap_wxMenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
* _resultobj
;
9556 PyObject
* _argo0
= 0;
9557 char *_kwnames
[] = { "self", NULL
};
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuBar_GetMenuCount",_kwnames
,&_argo0
))
9563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenuCount. Expected _wxMenuBar_p.");
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 _result
= (size_t )wxMenuBar_GetMenuCount(_arg0
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) return NULL
;
9575 } _resultobj
= Py_BuildValue("i",_result
);
9579 #define wxMenuBar_GetMenu(_swigobj,_swigarg0) (_swigobj->GetMenu(_swigarg0))
9580 static PyObject
*_wrap_wxMenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
* _resultobj
;
9585 PyObject
* _argo0
= 0;
9586 char *_kwnames
[] = { "self","pos", NULL
};
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetMenu",_kwnames
,&_argo0
,&_arg1
))
9592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetMenu. Expected _wxMenuBar_p.");
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 _result
= (wxMenu
*)wxMenuBar_GetMenu(_arg0
,_arg1
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) return NULL
;
9604 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9608 #define wxMenuBar_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
9609 static PyObject
*_wrap_wxMenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
* _resultobj
;
9616 PyObject
* _argo0
= 0;
9617 PyObject
* _argo2
= 0;
9618 PyObject
* _obj3
= 0;
9619 char *_kwnames
[] = { "self","pos","menu","title", NULL
};
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOO:wxMenuBar_Replace",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
))
9625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Replace. Expected _wxMenuBar_p.");
9632 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9633 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxMenu_p")) {
9634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxMenuBar_Replace. Expected _wxMenu_p.");
9639 _arg3
= wxString_in_helper(_obj3
);
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 _result
= (wxMenu
*)wxMenuBar_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) return NULL
;
9649 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9657 #define wxMenuBar_Remove(_swigobj,_swigarg0) (_swigobj->Remove(_swigarg0))
9658 static PyObject
*_wrap_wxMenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
* _resultobj
;
9663 PyObject
* _argo0
= 0;
9664 char *_kwnames
[] = { "self","pos", NULL
};
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_Remove",_kwnames
,&_argo0
,&_arg1
))
9670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Remove. Expected _wxMenuBar_p.");
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 _result
= (wxMenu
*)wxMenuBar_Remove(_arg0
,_arg1
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) return NULL
;
9682 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9686 #define wxMenuBar_EnableTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTop(_swigarg0,_swigarg1))
9687 static PyObject
*_wrap_wxMenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
* _resultobj
;
9692 PyObject
* _argo0
= 0;
9694 char *_kwnames
[] = { "self","pos","enable", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_EnableTop",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_EnableTop. Expected _wxMenuBar_p.");
9706 _arg2
= (bool ) tempbool2
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 wxMenuBar_EnableTop(_arg0
,_arg1
,_arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) return NULL
;
9713 } Py_INCREF(Py_None
);
9714 _resultobj
= Py_None
;
9718 #define wxMenuBar_SetLabelTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabelTop(_swigarg0,_swigarg1))
9719 static PyObject
*_wrap_wxMenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
* _resultobj
;
9724 PyObject
* _argo0
= 0;
9725 PyObject
* _obj2
= 0;
9726 char *_kwnames
[] = { "self","pos","label", NULL
};
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabelTop",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabelTop. Expected _wxMenuBar_p.");
9739 _arg2
= wxString_in_helper(_obj2
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 wxMenuBar_SetLabelTop(_arg0
,_arg1
,*_arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) return NULL
;
9749 } Py_INCREF(Py_None
);
9750 _resultobj
= Py_None
;
9758 #define wxMenuBar_GetLabelTop(_swigobj,_swigarg0) (_swigobj->GetLabelTop(_swigarg0))
9759 static PyObject
*_wrap_wxMenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
* _resultobj
;
9764 PyObject
* _argo0
= 0;
9765 char *_kwnames
[] = { "self","pos", NULL
};
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabelTop",_kwnames
,&_argo0
,&_arg1
))
9771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabelTop. Expected _wxMenuBar_p.");
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 _result
= new wxString (wxMenuBar_GetLabelTop(_arg0
,_arg1
));
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) return NULL
;
9785 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9787 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9796 #define wxMenuBar_FindMenu(_swigobj,_swigarg0) (_swigobj->FindMenu(_swigarg0))
9797 static PyObject
*_wrap_wxMenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
* _resultobj
;
9802 PyObject
* _argo0
= 0;
9803 PyObject
* _obj1
= 0;
9804 char *_kwnames
[] = { "self","title", NULL
};
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuBar_FindMenu",_kwnames
,&_argo0
,&_obj1
))
9810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenu. Expected _wxMenuBar_p.");
9817 _arg1
= wxString_in_helper(_obj1
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 _result
= (int )wxMenuBar_FindMenu(_arg0
,*_arg1
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) return NULL
;
9827 } _resultobj
= Py_BuildValue("i",_result
);
9835 #define wxMenuBar_FindMenuItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindMenuItem(_swigarg0,_swigarg1))
9836 static PyObject
*_wrap_wxMenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
* _resultobj
;
9842 PyObject
* _argo0
= 0;
9843 PyObject
* _obj1
= 0;
9844 PyObject
* _obj2
= 0;
9845 char *_kwnames
[] = { "self","menuString","itemString", NULL
};
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxMenuBar_FindMenuItem",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
9851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindMenuItem. Expected _wxMenuBar_p.");
9858 _arg1
= wxString_in_helper(_obj1
);
9863 _arg2
= wxString_in_helper(_obj2
);
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 _result
= (int )wxMenuBar_FindMenuItem(_arg0
,*_arg1
,*_arg2
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) return NULL
;
9873 } _resultobj
= Py_BuildValue("i",_result
);
9885 #define wxMenuBar_FindItemById(_swigobj,_swigarg0) (_swigobj->FindItem(_swigarg0))
9886 static PyObject
*_wrap_wxMenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
* _resultobj
;
9888 wxMenuItem
* _result
;
9891 PyObject
* _argo0
= 0;
9892 char *_kwnames
[] = { "self","id", NULL
};
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_FindItemById",_kwnames
,&_argo0
,&_arg1
))
9898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_FindItemById. Expected _wxMenuBar_p.");
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 _result
= (wxMenuItem
*)wxMenuBar_FindItemById(_arg0
,_arg1
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) return NULL
;
9910 }{ _resultobj
= wxPyMake_wxObject(_result
); }
9914 #define wxMenuBar_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9915 static PyObject
*_wrap_wxMenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
* _resultobj
;
9920 PyObject
* _argo0
= 0;
9922 char *_kwnames
[] = { "self","id","enable", NULL
};
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Enable",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Enable. Expected _wxMenuBar_p.");
9934 _arg2
= (bool ) tempbool2
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 wxMenuBar_Enable(_arg0
,_arg1
,_arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) return NULL
;
9941 } Py_INCREF(Py_None
);
9942 _resultobj
= Py_None
;
9946 #define wxMenuBar_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
9947 static PyObject
*_wrap_wxMenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
* _resultobj
;
9952 PyObject
* _argo0
= 0;
9954 char *_kwnames
[] = { "self","id","check", NULL
};
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxMenuBar_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_Check. Expected _wxMenuBar_p.");
9966 _arg2
= (bool ) tempbool2
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 wxMenuBar_Check(_arg0
,_arg1
,_arg2
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) return NULL
;
9973 } Py_INCREF(Py_None
);
9974 _resultobj
= Py_None
;
9978 #define wxMenuBar_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
9979 static PyObject
*_wrap_wxMenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
* _resultobj
;
9984 PyObject
* _argo0
= 0;
9985 char *_kwnames
[] = { "self","id", NULL
};
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsChecked",_kwnames
,&_argo0
,&_arg1
))
9991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
9993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsChecked. Expected _wxMenuBar_p.");
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 _result
= (bool )wxMenuBar_IsChecked(_arg0
,_arg1
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) return NULL
;
10003 } _resultobj
= Py_BuildValue("i",_result
);
10007 #define wxMenuBar_IsEnabled(_swigobj,_swigarg0) (_swigobj->IsEnabled(_swigarg0))
10008 static PyObject
*_wrap_wxMenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
* _resultobj
;
10013 PyObject
* _argo0
= 0;
10014 char *_kwnames
[] = { "self","id", NULL
};
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_IsEnabled",_kwnames
,&_argo0
,&_arg1
))
10020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_IsEnabled. Expected _wxMenuBar_p.");
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 _result
= (bool )wxMenuBar_IsEnabled(_arg0
,_arg1
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) return NULL
;
10032 } _resultobj
= Py_BuildValue("i",_result
);
10036 #define wxMenuBar_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
10037 static PyObject
*_wrap_wxMenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
* _resultobj
;
10042 PyObject
* _argo0
= 0;
10043 PyObject
* _obj2
= 0;
10044 char *_kwnames
[] = { "self","id","label", NULL
};
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetLabel. Expected _wxMenuBar_p.");
10057 _arg2
= wxString_in_helper(_obj2
);
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 wxMenuBar_SetLabel(_arg0
,_arg1
,*_arg2
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) return NULL
;
10067 } Py_INCREF(Py_None
);
10068 _resultobj
= Py_None
;
10076 #define wxMenuBar_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
10077 static PyObject
*_wrap_wxMenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
* _resultobj
;
10079 wxString
* _result
;
10082 PyObject
* _argo0
= 0;
10083 char *_kwnames
[] = { "self","id", NULL
};
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetLabel",_kwnames
,&_argo0
,&_arg1
))
10089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetLabel. Expected _wxMenuBar_p.");
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 _result
= new wxString (wxMenuBar_GetLabel(_arg0
,_arg1
));
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) return NULL
;
10103 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10105 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10114 #define wxMenuBar_SetHelpString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHelpString(_swigarg0,_swigarg1))
10115 static PyObject
*_wrap_wxMenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
* _resultobj
;
10120 PyObject
* _argo0
= 0;
10121 PyObject
* _obj2
= 0;
10122 char *_kwnames
[] = { "self","id","helpString", NULL
};
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxMenuBar_SetHelpString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_SetHelpString. Expected _wxMenuBar_p.");
10135 _arg2
= wxString_in_helper(_obj2
);
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 wxMenuBar_SetHelpString(_arg0
,_arg1
,*_arg2
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) return NULL
;
10145 } Py_INCREF(Py_None
);
10146 _resultobj
= Py_None
;
10154 #define wxMenuBar_GetHelpString(_swigobj,_swigarg0) (_swigobj->GetHelpString(_swigarg0))
10155 static PyObject
*_wrap_wxMenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
* _resultobj
;
10157 wxString
* _result
;
10160 PyObject
* _argo0
= 0;
10161 char *_kwnames
[] = { "self","id", NULL
};
10164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuBar_GetHelpString",_kwnames
,&_argo0
,&_arg1
))
10167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuBar_p")) {
10169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuBar_GetHelpString. Expected _wxMenuBar_p.");
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 _result
= new wxString (wxMenuBar_GetHelpString(_arg0
,_arg1
));
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) return NULL
;
10181 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10183 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10192 static void *SwigwxMenuItemTowxObject(void *ptr
) {
10195 src
= (wxMenuItem
*) ptr
;
10196 dest
= (wxObject
*) src
;
10197 return (void *) dest
;
10200 #define new_wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxMenuItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10201 static PyObject
*_wrap_new_wxMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
* _resultobj
;
10203 wxMenuItem
* _result
;
10204 wxMenu
* _arg0
= (wxMenu
*) NULL
;
10205 int _arg1
= (int ) wxID_SEPARATOR
;
10206 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10207 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10208 wxItemKind _arg4
= (wxItemKind
) wxITEM_NORMAL
;
10209 wxMenu
* _arg5
= (wxMenu
*) NULL
;
10210 PyObject
* _argo0
= 0;
10211 PyObject
* _obj2
= 0;
10212 PyObject
* _obj3
= 0;
10213 PyObject
* _argo5
= 0;
10214 char *_kwnames
[] = { "parentMenu","id","text","help","kind","subMenu", NULL
};
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OiOOiO:new_wxMenuItem",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
))
10221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenu_p")) {
10223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMenuItem. Expected _wxMenu_p.");
10229 _arg2
= wxString_in_helper(_obj2
);
10235 _arg3
= wxString_in_helper(_obj3
);
10240 if (_argo5
== Py_None
) { _arg5
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxMenu_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxMenuItem. Expected _wxMenu_p.");
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 _result
= (wxMenuItem
*)new_wxMenuItem(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) return NULL
;
10253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuItem_p");
10254 _resultobj
= Py_BuildValue("s",_ptemp
);
10256 Py_INCREF(Py_None
);
10257 _resultobj
= Py_None
;
10270 #define wxMenuItem_GetMenu(_swigobj) (_swigobj->GetMenu())
10271 static PyObject
*_wrap_wxMenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
* _resultobj
;
10274 wxMenuItem
* _arg0
;
10275 PyObject
* _argo0
= 0;
10276 char *_kwnames
[] = { "self", NULL
};
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetMenu",_kwnames
,&_argo0
))
10282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetMenu. Expected _wxMenuItem_p.");
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 _result
= (wxMenu
*)wxMenuItem_GetMenu(_arg0
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) return NULL
;
10294 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10298 #define wxMenuItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
10299 static PyObject
*_wrap_wxMenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
* _resultobj
;
10301 wxMenuItem
* _arg0
;
10303 PyObject
* _argo0
= 0;
10304 char *_kwnames
[] = { "self","id", NULL
};
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetId",_kwnames
,&_argo0
,&_arg1
))
10310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetId. Expected _wxMenuItem_p.");
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 wxMenuItem_SetId(_arg0
,_arg1
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) return NULL
;
10322 } Py_INCREF(Py_None
);
10323 _resultobj
= Py_None
;
10327 #define wxMenuItem_GetId(_swigobj) (_swigobj->GetId())
10328 static PyObject
*_wrap_wxMenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
* _resultobj
;
10331 wxMenuItem
* _arg0
;
10332 PyObject
* _argo0
= 0;
10333 char *_kwnames
[] = { "self", NULL
};
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetId",_kwnames
,&_argo0
))
10339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetId. Expected _wxMenuItem_p.");
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 _result
= (int )wxMenuItem_GetId(_arg0
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) return NULL
;
10351 } _resultobj
= Py_BuildValue("i",_result
);
10355 #define wxMenuItem_IsSeparator(_swigobj) (_swigobj->IsSeparator())
10356 static PyObject
*_wrap_wxMenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
* _resultobj
;
10359 wxMenuItem
* _arg0
;
10360 PyObject
* _argo0
= 0;
10361 char *_kwnames
[] = { "self", NULL
};
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSeparator",_kwnames
,&_argo0
))
10367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSeparator. Expected _wxMenuItem_p.");
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 _result
= (bool )wxMenuItem_IsSeparator(_arg0
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) return NULL
;
10379 } _resultobj
= Py_BuildValue("i",_result
);
10383 #define wxMenuItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
10384 static PyObject
*_wrap_wxMenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
* _resultobj
;
10386 wxMenuItem
* _arg0
;
10388 PyObject
* _argo0
= 0;
10389 PyObject
* _obj1
= 0;
10390 char *_kwnames
[] = { "self","str", NULL
};
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetText",_kwnames
,&_argo0
,&_obj1
))
10396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetText. Expected _wxMenuItem_p.");
10403 _arg1
= wxString_in_helper(_obj1
);
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 wxMenuItem_SetText(_arg0
,*_arg1
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) return NULL
;
10413 } Py_INCREF(Py_None
);
10414 _resultobj
= Py_None
;
10422 #define wxMenuItem_GetLabel(_swigobj) (_swigobj->GetLabel())
10423 static PyObject
*_wrap_wxMenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
* _resultobj
;
10425 wxString
* _result
;
10426 wxMenuItem
* _arg0
;
10427 PyObject
* _argo0
= 0;
10428 char *_kwnames
[] = { "self", NULL
};
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabel",_kwnames
,&_argo0
))
10434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetLabel. Expected _wxMenuItem_p.");
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 _result
= new wxString (wxMenuItem_GetLabel(_arg0
));
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) return NULL
;
10448 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10450 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10459 #define wxMenuItem_GetText(_swigobj) (_swigobj->GetText())
10460 static PyObject
*_wrap_wxMenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
* _resultobj
;
10462 wxString
* _result
;
10463 wxMenuItem
* _arg0
;
10464 PyObject
* _argo0
= 0;
10465 char *_kwnames
[] = { "self", NULL
};
10468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetText",_kwnames
,&_argo0
))
10471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetText. Expected _wxMenuItem_p.");
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 const wxString
& _result_ref
= wxMenuItem_GetText(_arg0
);
10480 _result
= (wxString
*) &_result_ref
;
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) return NULL
;
10486 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10488 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10494 #define wxMenuItem_GetKind(_swigobj) (_swigobj->GetKind())
10495 static PyObject
*_wrap_wxMenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
* _resultobj
;
10497 wxItemKind _result
;
10498 wxMenuItem
* _arg0
;
10499 PyObject
* _argo0
= 0;
10500 char *_kwnames
[] = { "self", NULL
};
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetKind",_kwnames
,&_argo0
))
10506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetKind. Expected _wxMenuItem_p.");
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 _result
= (wxItemKind
)wxMenuItem_GetKind(_arg0
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) return NULL
;
10518 } _resultobj
= Py_BuildValue("i",_result
);
10522 #define wxMenuItem_SetCheckable(_swigobj,_swigarg0) (_swigobj->SetCheckable(_swigarg0))
10523 static PyObject
*_wrap_wxMenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
* _resultobj
;
10525 wxMenuItem
* _arg0
;
10527 PyObject
* _argo0
= 0;
10529 char *_kwnames
[] = { "self","checkable", NULL
};
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMenuItem_SetCheckable",_kwnames
,&_argo0
,&tempbool1
))
10535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetCheckable. Expected _wxMenuItem_p.");
10541 _arg1
= (bool ) tempbool1
;
10543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10544 wxMenuItem_SetCheckable(_arg0
,_arg1
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) return NULL
;
10548 } Py_INCREF(Py_None
);
10549 _resultobj
= Py_None
;
10553 #define wxMenuItem_IsCheckable(_swigobj) (_swigobj->IsCheckable())
10554 static PyObject
*_wrap_wxMenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
* _resultobj
;
10557 wxMenuItem
* _arg0
;
10558 PyObject
* _argo0
= 0;
10559 char *_kwnames
[] = { "self", NULL
};
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsCheckable",_kwnames
,&_argo0
))
10565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsCheckable. Expected _wxMenuItem_p.");
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 _result
= (bool )wxMenuItem_IsCheckable(_arg0
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) return NULL
;
10577 } _resultobj
= Py_BuildValue("i",_result
);
10581 #define wxMenuItem_IsSubMenu(_swigobj) (_swigobj->IsSubMenu())
10582 static PyObject
*_wrap_wxMenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
* _resultobj
;
10585 wxMenuItem
* _arg0
;
10586 PyObject
* _argo0
= 0;
10587 char *_kwnames
[] = { "self", NULL
};
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsSubMenu",_kwnames
,&_argo0
))
10593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsSubMenu. Expected _wxMenuItem_p.");
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 _result
= (bool )wxMenuItem_IsSubMenu(_arg0
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) return NULL
;
10605 } _resultobj
= Py_BuildValue("i",_result
);
10609 #define wxMenuItem_SetSubMenu(_swigobj,_swigarg0) (_swigobj->SetSubMenu(_swigarg0))
10610 static PyObject
*_wrap_wxMenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
* _resultobj
;
10612 wxMenuItem
* _arg0
;
10614 PyObject
* _argo0
= 0;
10615 PyObject
* _argo1
= 0;
10616 char *_kwnames
[] = { "self","menu", NULL
};
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetSubMenu",_kwnames
,&_argo0
,&_argo1
))
10622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetSubMenu. Expected _wxMenuItem_p.");
10629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
10631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetSubMenu. Expected _wxMenu_p.");
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 wxMenuItem_SetSubMenu(_arg0
,_arg1
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) return NULL
;
10641 } Py_INCREF(Py_None
);
10642 _resultobj
= Py_None
;
10646 #define wxMenuItem_GetSubMenu(_swigobj) (_swigobj->GetSubMenu())
10647 static PyObject
*_wrap_wxMenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
* _resultobj
;
10650 wxMenuItem
* _arg0
;
10651 PyObject
* _argo0
= 0;
10652 char *_kwnames
[] = { "self", NULL
};
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetSubMenu",_kwnames
,&_argo0
))
10658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetSubMenu. Expected _wxMenuItem_p.");
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 _result
= (wxMenu
*)wxMenuItem_GetSubMenu(_arg0
);
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) return NULL
;
10670 }{ _resultobj
= wxPyMake_wxObject(_result
); }
10674 #define wxMenuItem_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10675 static PyObject
*_wrap_wxMenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
* _resultobj
;
10677 wxMenuItem
* _arg0
;
10678 bool _arg1
= (bool ) TRUE
;
10679 PyObject
* _argo0
= 0;
10680 int tempbool1
= (int) TRUE
;
10681 char *_kwnames
[] = { "self","enable", NULL
};
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Enable",_kwnames
,&_argo0
,&tempbool1
))
10687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Enable. Expected _wxMenuItem_p.");
10693 _arg1
= (bool ) tempbool1
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 wxMenuItem_Enable(_arg0
,_arg1
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) return NULL
;
10700 } Py_INCREF(Py_None
);
10701 _resultobj
= Py_None
;
10705 #define wxMenuItem_IsEnabled(_swigobj) (_swigobj->IsEnabled())
10706 static PyObject
*_wrap_wxMenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
* _resultobj
;
10709 wxMenuItem
* _arg0
;
10710 PyObject
* _argo0
= 0;
10711 char *_kwnames
[] = { "self", NULL
};
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsEnabled",_kwnames
,&_argo0
))
10717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsEnabled. Expected _wxMenuItem_p.");
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 _result
= (bool )wxMenuItem_IsEnabled(_arg0
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) return NULL
;
10729 } _resultobj
= Py_BuildValue("i",_result
);
10733 #define wxMenuItem_Check(_swigobj,_swigarg0) (_swigobj->Check(_swigarg0))
10734 static PyObject
*_wrap_wxMenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
* _resultobj
;
10736 wxMenuItem
* _arg0
;
10737 bool _arg1
= (bool ) TRUE
;
10738 PyObject
* _argo0
= 0;
10739 int tempbool1
= (int) TRUE
;
10740 char *_kwnames
[] = { "self","check", NULL
};
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxMenuItem_Check",_kwnames
,&_argo0
,&tempbool1
))
10746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Check. Expected _wxMenuItem_p.");
10752 _arg1
= (bool ) tempbool1
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 wxMenuItem_Check(_arg0
,_arg1
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) return NULL
;
10759 } Py_INCREF(Py_None
);
10760 _resultobj
= Py_None
;
10764 #define wxMenuItem_IsChecked(_swigobj) (_swigobj->IsChecked())
10765 static PyObject
*_wrap_wxMenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
* _resultobj
;
10768 wxMenuItem
* _arg0
;
10769 PyObject
* _argo0
= 0;
10770 char *_kwnames
[] = { "self", NULL
};
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_IsChecked",_kwnames
,&_argo0
))
10776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_IsChecked. Expected _wxMenuItem_p.");
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 _result
= (bool )wxMenuItem_IsChecked(_arg0
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) return NULL
;
10788 } _resultobj
= Py_BuildValue("i",_result
);
10792 #define wxMenuItem_Toggle(_swigobj) (_swigobj->Toggle())
10793 static PyObject
*_wrap_wxMenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
* _resultobj
;
10795 wxMenuItem
* _arg0
;
10796 PyObject
* _argo0
= 0;
10797 char *_kwnames
[] = { "self", NULL
};
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_Toggle",_kwnames
,&_argo0
))
10803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_Toggle. Expected _wxMenuItem_p.");
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 wxMenuItem_Toggle(_arg0
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) return NULL
;
10815 } Py_INCREF(Py_None
);
10816 _resultobj
= Py_None
;
10820 #define wxMenuItem_SetHelp(_swigobj,_swigarg0) (_swigobj->SetHelp(_swigarg0))
10821 static PyObject
*_wrap_wxMenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
* _resultobj
;
10823 wxMenuItem
* _arg0
;
10825 PyObject
* _argo0
= 0;
10826 PyObject
* _obj1
= 0;
10827 char *_kwnames
[] = { "self","str", NULL
};
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetHelp",_kwnames
,&_argo0
,&_obj1
))
10833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetHelp. Expected _wxMenuItem_p.");
10840 _arg1
= wxString_in_helper(_obj1
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 wxMenuItem_SetHelp(_arg0
,*_arg1
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) return NULL
;
10850 } Py_INCREF(Py_None
);
10851 _resultobj
= Py_None
;
10859 #define wxMenuItem_GetHelp(_swigobj) (_swigobj->GetHelp())
10860 static PyObject
*_wrap_wxMenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
* _resultobj
;
10862 wxString
* _result
;
10863 wxMenuItem
* _arg0
;
10864 PyObject
* _argo0
= 0;
10865 char *_kwnames
[] = { "self", NULL
};
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetHelp",_kwnames
,&_argo0
))
10871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetHelp. Expected _wxMenuItem_p.");
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 const wxString
& _result_ref
= wxMenuItem_GetHelp(_arg0
);
10880 _result
= (wxString
*) &_result_ref
;
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) return NULL
;
10886 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10888 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10894 #define wxMenuItem_GetAccel(_swigobj) (_swigobj->GetAccel())
10895 static PyObject
*_wrap_wxMenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
* _resultobj
;
10897 wxAcceleratorEntry
* _result
;
10898 wxMenuItem
* _arg0
;
10899 PyObject
* _argo0
= 0;
10900 char *_kwnames
[] = { "self", NULL
};
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetAccel",_kwnames
,&_argo0
))
10907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_GetAccel. Expected _wxMenuItem_p.");
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 _result
= (wxAcceleratorEntry
*)wxMenuItem_GetAccel(_arg0
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) return NULL
;
10920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
10921 _resultobj
= Py_BuildValue("s",_ptemp
);
10923 Py_INCREF(Py_None
);
10924 _resultobj
= Py_None
;
10929 #define wxMenuItem_SetAccel(_swigobj,_swigarg0) (_swigobj->SetAccel(_swigarg0))
10930 static PyObject
*_wrap_wxMenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
* _resultobj
;
10932 wxMenuItem
* _arg0
;
10933 wxAcceleratorEntry
* _arg1
;
10934 PyObject
* _argo0
= 0;
10935 PyObject
* _argo1
= 0;
10936 char *_kwnames
[] = { "self","accel", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMenuItem_SetAccel",_kwnames
,&_argo0
,&_argo1
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMenuItem_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMenuItem_SetAccel. Expected _wxMenuItem_p.");
10949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxAcceleratorEntry_p")) {
10951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMenuItem_SetAccel. Expected _wxAcceleratorEntry_p.");
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 wxMenuItem_SetAccel(_arg0
,_arg1
);
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) return NULL
;
10961 } Py_INCREF(Py_None
);
10962 _resultobj
= Py_None
;
10966 static PyObject
*_wrap_wxMenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
* _resultobj
;
10968 wxString
* _result
;
10970 PyObject
* _obj0
= 0;
10971 char *_kwnames
[] = { "text", NULL
};
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMenuItem_GetLabelFromText",_kwnames
,&_obj0
))
10977 _arg0
= wxString_in_helper(_obj0
);
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 _result
= new wxString (wxMenuItem::GetLabelFromText(*_arg0
));
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) return NULL
;
10989 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
10991 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
11004 static PyMethodDef windowscMethods
[] = {
11005 { "wxMenuItem_GetLabelFromText", (PyCFunction
) _wrap_wxMenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxMenuItem_SetAccel", (PyCFunction
) _wrap_wxMenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxMenuItem_GetAccel", (PyCFunction
) _wrap_wxMenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxMenuItem_GetHelp", (PyCFunction
) _wrap_wxMenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxMenuItem_SetHelp", (PyCFunction
) _wrap_wxMenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxMenuItem_Toggle", (PyCFunction
) _wrap_wxMenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxMenuItem_IsChecked", (PyCFunction
) _wrap_wxMenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxMenuItem_Check", (PyCFunction
) _wrap_wxMenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxMenuItem_IsEnabled", (PyCFunction
) _wrap_wxMenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxMenuItem_Enable", (PyCFunction
) _wrap_wxMenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxMenuItem_GetSubMenu", (PyCFunction
) _wrap_wxMenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxMenuItem_SetSubMenu", (PyCFunction
) _wrap_wxMenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxMenuItem_IsSubMenu", (PyCFunction
) _wrap_wxMenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxMenuItem_IsCheckable", (PyCFunction
) _wrap_wxMenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxMenuItem_SetCheckable", (PyCFunction
) _wrap_wxMenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxMenuItem_GetKind", (PyCFunction
) _wrap_wxMenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxMenuItem_GetText", (PyCFunction
) _wrap_wxMenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxMenuItem_GetLabel", (PyCFunction
) _wrap_wxMenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxMenuItem_SetText", (PyCFunction
) _wrap_wxMenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxMenuItem_IsSeparator", (PyCFunction
) _wrap_wxMenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxMenuItem_GetId", (PyCFunction
) _wrap_wxMenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxMenuItem_SetId", (PyCFunction
) _wrap_wxMenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxMenuItem_GetMenu", (PyCFunction
) _wrap_wxMenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "new_wxMenuItem", (PyCFunction
) _wrap_new_wxMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxMenuBar_GetHelpString", (PyCFunction
) _wrap_wxMenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxMenuBar_SetHelpString", (PyCFunction
) _wrap_wxMenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxMenuBar_GetLabel", (PyCFunction
) _wrap_wxMenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxMenuBar_SetLabel", (PyCFunction
) _wrap_wxMenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxMenuBar_IsEnabled", (PyCFunction
) _wrap_wxMenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxMenuBar_IsChecked", (PyCFunction
) _wrap_wxMenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxMenuBar_Check", (PyCFunction
) _wrap_wxMenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxMenuBar_Enable", (PyCFunction
) _wrap_wxMenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxMenuBar_FindItemById", (PyCFunction
) _wrap_wxMenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxMenuBar_FindMenuItem", (PyCFunction
) _wrap_wxMenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxMenuBar_FindMenu", (PyCFunction
) _wrap_wxMenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxMenuBar_GetLabelTop", (PyCFunction
) _wrap_wxMenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxMenuBar_SetLabelTop", (PyCFunction
) _wrap_wxMenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxMenuBar_EnableTop", (PyCFunction
) _wrap_wxMenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxMenuBar_Remove", (PyCFunction
) _wrap_wxMenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxMenuBar_Replace", (PyCFunction
) _wrap_wxMenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxMenuBar_GetMenu", (PyCFunction
) _wrap_wxMenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxMenuBar_GetMenuCount", (PyCFunction
) _wrap_wxMenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxMenuBar_Insert", (PyCFunction
) _wrap_wxMenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxMenuBar_Append", (PyCFunction
) _wrap_wxMenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "new_wxMenuBar", (PyCFunction
) _wrap_new_wxMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxMenu_GetParent", (PyCFunction
) _wrap_wxMenu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxMenu_SetParent", (PyCFunction
) _wrap_wxMenu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxMenu_IsAttached", (PyCFunction
) _wrap_wxMenu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxMenu_GetStyle", (PyCFunction
) _wrap_wxMenu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxMenu_GetInvokingWindow", (PyCFunction
) _wrap_wxMenu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxMenu_SetInvokingWindow", (PyCFunction
) _wrap_wxMenu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxMenu_GetEventHandler", (PyCFunction
) _wrap_wxMenu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxMenu_SetEventHandler", (PyCFunction
) _wrap_wxMenu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxMenu_GetMenuItems", (PyCFunction
) _wrap_wxMenu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxMenu_GetMenuItemCount", (PyCFunction
) _wrap_wxMenu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxMenu_DestroyItem", (PyCFunction
) _wrap_wxMenu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxMenu_DestroyId", (PyCFunction
) _wrap_wxMenu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxMenu_Destroy", (PyCFunction
) _wrap_wxMenu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxMenu_RemoveItem", (PyCFunction
) _wrap_wxMenu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxMenu_Remove", (PyCFunction
) _wrap_wxMenu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxMenu_DeleteItem", (PyCFunction
) _wrap_wxMenu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxMenu_Delete", (PyCFunction
) _wrap_wxMenu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxMenu_UpdateUI", (PyCFunction
) _wrap_wxMenu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxMenu_SetHelpString", (PyCFunction
) _wrap_wxMenu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxMenu_GetHelpString", (PyCFunction
) _wrap_wxMenu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxMenu_SetLabel", (PyCFunction
) _wrap_wxMenu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxMenu_GetLabel", (PyCFunction
) _wrap_wxMenu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxMenu_SetTitle", (PyCFunction
) _wrap_wxMenu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxMenu_GetTitle", (PyCFunction
) _wrap_wxMenu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxMenu_FindItemById", (PyCFunction
) _wrap_wxMenu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxMenu_FindItem", (PyCFunction
) _wrap_wxMenu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxMenu_IsEnabled", (PyCFunction
) _wrap_wxMenu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxMenu_Enable", (PyCFunction
) _wrap_wxMenu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxMenu_IsChecked", (PyCFunction
) _wrap_wxMenu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxMenu_Check", (PyCFunction
) _wrap_wxMenu_Check
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxMenu_Break", (PyCFunction
) _wrap_wxMenu_Break
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxMenu_PrependItem", (PyCFunction
) _wrap_wxMenu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxMenu_PrependMenu", (PyCFunction
) _wrap_wxMenu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxMenu_PrependRadioItem", (PyCFunction
) _wrap_wxMenu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "wxMenu_PrependCheckItem", (PyCFunction
) _wrap_wxMenu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxMenu_PrependSeparator", (PyCFunction
) _wrap_wxMenu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxMenu_Prepend", (PyCFunction
) _wrap_wxMenu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxMenu_InsertItem", (PyCFunction
) _wrap_wxMenu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxMenu_InsertMenu", (PyCFunction
) _wrap_wxMenu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxMenu_InsertRadioItem", (PyCFunction
) _wrap_wxMenu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxMenu_InsertCheckItem", (PyCFunction
) _wrap_wxMenu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxMenu_InsertSeparator", (PyCFunction
) _wrap_wxMenu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxMenu_Insert", (PyCFunction
) _wrap_wxMenu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxMenu_AppendSeparator", (PyCFunction
) _wrap_wxMenu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxMenu_AppendRadioItem", (PyCFunction
) _wrap_wxMenu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxMenu_AppendCheckItem", (PyCFunction
) _wrap_wxMenu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxMenu_AppendItem", (PyCFunction
) _wrap_wxMenu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxMenu_AppendMenu", (PyCFunction
) _wrap_wxMenu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxMenu_Append", (PyCFunction
) _wrap_wxMenu_Append
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "new_wxMenu", (PyCFunction
) _wrap_new_wxMenu
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxScrolledWindow_Layout", (PyCFunction
) _wrap_wxScrolledWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxScrolledWindow_GetScaleY", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxScrolledWindow_GetScaleX", (PyCFunction
) _wrap_wxScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "wxScrolledWindow_SetScale", (PyCFunction
) _wrap_wxScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxScrolledWindow_CalcUnscrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxScrolledWindow_CalcUnscrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcUnscrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxScrolledWindow_CalcScrolledPosition2", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition2
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxScrolledWindow_CalcScrolledPosition1", (PyCFunction
) _wrap_wxScrolledWindow_CalcScrolledPosition1
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "wxScrolledWindow_GetViewStart", (PyCFunction
) _wrap_wxScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "wxScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_wxScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxScrolledWindow_Scroll", (PyCFunction
) _wrap_wxScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxScrolledWindow_PrepareDC", (PyCFunction
) _wrap_wxScrolledWindow_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxScrolledWindow_IsRetained", (PyCFunction
) _wrap_wxScrolledWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_wxScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_wxScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_wxScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxScrolledWindow_Create", (PyCFunction
) _wrap_wxScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "new_wxPreScrolledWindow", (PyCFunction
) _wrap_new_wxPreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "new_wxScrolledWindow", (PyCFunction
) _wrap_new_wxScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxPanel_InitDialog", (PyCFunction
) _wrap_wxPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxPanel_Create", (PyCFunction
) _wrap_wxPanel_Create
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "new_wxPrePanel", (PyCFunction
) _wrap_new_wxPrePanel
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxPanel", (PyCFunction
) _wrap_new_wxPanel
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxWindow_HasCapture", (PyCFunction
) _wrap_wxWindow_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxWindow_GetCapture", (PyCFunction
) _wrap_wxWindow_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxWindow_ReleaseMouse", (PyCFunction
) _wrap_wxWindow_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxWindow_CaptureMouse", (PyCFunction
) _wrap_wxWindow_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxWindow_WarpPointer", (PyCFunction
) _wrap_wxWindow_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_wxWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxWindow_SetDefaultItem", (PyCFunction
) _wrap_wxWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxWindow_GetDefaultItem", (PyCFunction
) _wrap_wxWindow_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxWindow_GetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxWindow_SetAcceleratorTable", (PyCFunction
) _wrap_wxWindow_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxWindow_PrevControlId", (PyCFunction
) _wrap_wxWindow_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxWindow_NextControlId", (PyCFunction
) _wrap_wxWindow_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxWindow_NewControlId", (PyCFunction
) _wrap_wxWindow_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxWindow_FindFocus", (PyCFunction
) _wrap_wxWindow_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxWindow_PageDown", (PyCFunction
) _wrap_wxWindow_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxWindow_PageUp", (PyCFunction
) _wrap_wxWindow_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxWindow_LineDown", (PyCFunction
) _wrap_wxWindow_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxWindow_LineUp", (PyCFunction
) _wrap_wxWindow_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxWindow_ScrollPages", (PyCFunction
) _wrap_wxWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxWindow_ScrollLines", (PyCFunction
) _wrap_wxWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxWindow_SetHelpTextForId", (PyCFunction
) _wrap_wxWindow_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxWindow_SetHelpText", (PyCFunction
) _wrap_wxWindow_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxWindow_GetHelpText", (PyCFunction
) _wrap_wxWindow_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxWindow_Update", (PyCFunction
) _wrap_wxWindow_Update
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxWindow_Thaw", (PyCFunction
) _wrap_wxWindow_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxWindow_Freeze", (PyCFunction
) _wrap_wxWindow_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxWindow_GetCaret", (PyCFunction
) _wrap_wxWindow_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxWindow_SetCaret", (PyCFunction
) _wrap_wxWindow_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxWindow_GetMaxSize", (PyCFunction
) _wrap_wxWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxWindow_GetBestSize", (PyCFunction
) _wrap_wxWindow_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxWindow_SetValidator", (PyCFunction
) _wrap_wxWindow_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxWindow_GetValidator", (PyCFunction
) _wrap_wxWindow_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxWindow_GetContainingSizer", (PyCFunction
) _wrap_wxWindow_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxWindow_SetContainingSizer", (PyCFunction
) _wrap_wxWindow_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxWindow_GetSizer", (PyCFunction
) _wrap_wxWindow_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxWindow_SetSizerAndFit", (PyCFunction
) _wrap_wxWindow_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxWindow_SetSizer", (PyCFunction
) _wrap_wxWindow_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxWindow_GetToolTip", (PyCFunction
) _wrap_wxWindow_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxWindow_SetToolTip", (PyCFunction
) _wrap_wxWindow_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxWindow_SetToolTipString", (PyCFunction
) _wrap_wxWindow_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxWindow_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxWindow_ConvertPixelPointToDialog", (PyCFunction
) _wrap_wxWindow_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxWindow_DLG_SZE", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxWindow_DLG_PNT", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxWindow_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxWindow_ConvertDialogPointToPixels", (PyCFunction
) _wrap_wxWindow_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxWindow_Validate", (PyCFunction
) _wrap_wxWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxWindow_UpdateWindowUI", (PyCFunction
) _wrap_wxWindow_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxWindow_TransferDataToWindow", (PyCFunction
) _wrap_wxWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxWindow_TransferDataFromWindow", (PyCFunction
) _wrap_wxWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxWindow_Show", (PyCFunction
) _wrap_wxWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxWindow_SetTitle", (PyCFunction
) _wrap_wxWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxWindow_SetExtraStyle", (PyCFunction
) _wrap_wxWindow_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxWindow_SetEventHandler", (PyCFunction
) _wrap_wxWindow_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxWindow_SetCursor", (PyCFunction
) _wrap_wxWindow_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxWindow_SetClientSize", (PyCFunction
) _wrap_wxWindow_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxWindow_SetClientSizeWH", (PyCFunction
) _wrap_wxWindow_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxWindow_GetVirtualSizeTuple", (PyCFunction
) _wrap_wxWindow_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxWindow_GetVirtualSize", (PyCFunction
) _wrap_wxWindow_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxWindow_SetVirtualSizeWH", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxWindow_SetVirtualSize", (PyCFunction
) _wrap_wxWindow_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxWindow_SetVirtualSizeHints", (PyCFunction
) _wrap_wxWindow_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxWindow_SetSizeHints", (PyCFunction
) _wrap_wxWindow_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxWindow_SetRect", (PyCFunction
) _wrap_wxWindow_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxWindow_SetPosition", (PyCFunction
) _wrap_wxWindow_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxWindow_SetSize", (PyCFunction
) _wrap_wxWindow_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxWindow_SetDimensions", (PyCFunction
) _wrap_wxWindow_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxWindow_SetScrollPos", (PyCFunction
) _wrap_wxWindow_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxWindow_SetScrollbar", (PyCFunction
) _wrap_wxWindow_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxWindow_SetName", (PyCFunction
) _wrap_wxWindow_SetName
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxWindow_SetId", (PyCFunction
) _wrap_wxWindow_SetId
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxWindow_SetForegroundColour", (PyCFunction
) _wrap_wxWindow_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxWindow_SetFont", (PyCFunction
) _wrap_wxWindow_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxWindow_AcceptsFocus", (PyCFunction
) _wrap_wxWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxWindow_SetFocusFromKbd", (PyCFunction
) _wrap_wxWindow_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxWindow_SetFocus", (PyCFunction
) _wrap_wxWindow_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxWindow_UnsetConstraints", (PyCFunction
) _wrap_wxWindow_UnsetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxWindow_SetConstraints", (PyCFunction
) _wrap_wxWindow_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxWindow_SetBackgroundColour", (PyCFunction
) _wrap_wxWindow_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxWindow_GetAutoLayout", (PyCFunction
) _wrap_wxWindow_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxWindow_SetAutoLayout", (PyCFunction
) _wrap_wxWindow_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxWindow_ScrollWindow", (PyCFunction
) _wrap_wxWindow_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxWindow_ScreenToClient", (PyCFunction
) _wrap_wxWindow_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxWindow_ScreenToClientXY", (PyCFunction
) _wrap_wxWindow_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxWindow_Reparent", (PyCFunction
) _wrap_wxWindow_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxWindow_RemoveChild", (PyCFunction
) _wrap_wxWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxWindow_RefreshRect", (PyCFunction
) _wrap_wxWindow_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxWindow_Refresh", (PyCFunction
) _wrap_wxWindow_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxWindow_Raise", (PyCFunction
) _wrap_wxWindow_Raise
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxWindow_PopupMenu", (PyCFunction
) _wrap_wxWindow_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxWindow_PopupMenuXY", (PyCFunction
) _wrap_wxWindow_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxWindow_RemoveEventHandler", (PyCFunction
) _wrap_wxWindow_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxWindow_PushEventHandler", (PyCFunction
) _wrap_wxWindow_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxWindow_PopEventHandler", (PyCFunction
) _wrap_wxWindow_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxWindow_Move", (PyCFunction
) _wrap_wxWindow_Move
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxWindow_MoveXY", (PyCFunction
) _wrap_wxWindow_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxWindow_MakeModal", (PyCFunction
) _wrap_wxWindow_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxWindow_Lower", (PyCFunction
) _wrap_wxWindow_Lower
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxWindow_LoadFromResource", (PyCFunction
) _wrap_wxWindow_LoadFromResource
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxWindow_Layout", (PyCFunction
) _wrap_wxWindow_Layout
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxWindow_IsTopLevel", (PyCFunction
) _wrap_wxWindow_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxWindow_IsShown", (PyCFunction
) _wrap_wxWindow_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxWindow_IsRetained", (PyCFunction
) _wrap_wxWindow_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxWindow_IsExposedRect", (PyCFunction
) _wrap_wxWindow_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxWindow_IsExposedPoint", (PyCFunction
) _wrap_wxWindow_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxWindow_IsExposed", (PyCFunction
) _wrap_wxWindow_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxWindow_IsEnabled", (PyCFunction
) _wrap_wxWindow_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxWindow_InitDialog", (PyCFunction
) _wrap_wxWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxWindow_HitTest", (PyCFunction
) _wrap_wxWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxWindow_Hide", (PyCFunction
) _wrap_wxWindow_Hide
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxWindow_HasScrollbar", (PyCFunction
) _wrap_wxWindow_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxWindow_SetWindowStyle", (PyCFunction
) _wrap_wxWindow_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxWindow_SetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxWindow_GetWindowStyleFlag", (PyCFunction
) _wrap_wxWindow_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxWindow_GetUpdateRegion", (PyCFunction
) _wrap_wxWindow_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxWindow_GetTitle", (PyCFunction
) _wrap_wxWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxWindow_GetFullTextExtent", (PyCFunction
) _wrap_wxWindow_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxWindow_GetTextExtent", (PyCFunction
) _wrap_wxWindow_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxWindow_GetSize", (PyCFunction
) _wrap_wxWindow_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxWindow_GetSizeTuple", (PyCFunction
) _wrap_wxWindow_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxWindow_GetScrollRange", (PyCFunction
) _wrap_wxWindow_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxWindow_GetScrollPos", (PyCFunction
) _wrap_wxWindow_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxWindow_GetScrollThumb", (PyCFunction
) _wrap_wxWindow_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxWindow_GetRect", (PyCFunction
) _wrap_wxWindow_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxWindow_GetPosition", (PyCFunction
) _wrap_wxWindow_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxWindow_GetPositionTuple", (PyCFunction
) _wrap_wxWindow_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxWindow_GetParent", (PyCFunction
) _wrap_wxWindow_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxWindow_GetName", (PyCFunction
) _wrap_wxWindow_GetName
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxWindow_SetLabel", (PyCFunction
) _wrap_wxWindow_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxWindow_GetLabel", (PyCFunction
) _wrap_wxWindow_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxWindow_GetId", (PyCFunction
) _wrap_wxWindow_GetId
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxWindow_GetHandle", (PyCFunction
) _wrap_wxWindow_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxWindow_GetGrandParent", (PyCFunction
) _wrap_wxWindow_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxWindow_GetForegroundColour", (PyCFunction
) _wrap_wxWindow_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxWindow_GetFont", (PyCFunction
) _wrap_wxWindow_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxWindow_GetEventHandler", (PyCFunction
) _wrap_wxWindow_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxWindow_GetConstraints", (PyCFunction
) _wrap_wxWindow_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxWindow_GetClientRect", (PyCFunction
) _wrap_wxWindow_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxWindow_GetClientAreaOrigin", (PyCFunction
) _wrap_wxWindow_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxWindow_GetClientSize", (PyCFunction
) _wrap_wxWindow_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxWindow_GetClientSizeTuple", (PyCFunction
) _wrap_wxWindow_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxWindow_GetCharWidth", (PyCFunction
) _wrap_wxWindow_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxWindow_GetCharHeight", (PyCFunction
) _wrap_wxWindow_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxWindow_GetChildren", (PyCFunction
) _wrap_wxWindow_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxWindow_GetBorder", (PyCFunction
) _wrap_wxWindow_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxWindow_GetBackgroundColour", (PyCFunction
) _wrap_wxWindow_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxWindow_Fit", (PyCFunction
) _wrap_wxWindow_Fit
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxWindow_FindWindowByName", (PyCFunction
) _wrap_wxWindow_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxWindow_FindWindowById", (PyCFunction
) _wrap_wxWindow_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxWindow_Enable", (PyCFunction
) _wrap_wxWindow_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxWindow_IsBeingDeleted", (PyCFunction
) _wrap_wxWindow_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxWindow_DestroyChildren", (PyCFunction
) _wrap_wxWindow_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxWindow_Destroy", (PyCFunction
) _wrap_wxWindow_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxWindow_Close", (PyCFunction
) _wrap_wxWindow_Close
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxWindow_ClientToScreen", (PyCFunction
) _wrap_wxWindow_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxWindow_ClientToScreenXY", (PyCFunction
) _wrap_wxWindow_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxWindow_Clear", (PyCFunction
) _wrap_wxWindow_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxWindow_CenterOnScreen", (PyCFunction
) _wrap_wxWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxWindow_CentreOnScreen", (PyCFunction
) _wrap_wxWindow_CentreOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxWindow_CenterOnParent", (PyCFunction
) _wrap_wxWindow_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxWindow_CentreOnParent", (PyCFunction
) _wrap_wxWindow_CentreOnParent
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxWindow_Centre", (PyCFunction
) _wrap_wxWindow_Centre
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxWindow_Center", (PyCFunction
) _wrap_wxWindow_Center
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxWindow_Create", (PyCFunction
) _wrap_wxWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "new_wxPreWindow", (PyCFunction
) _wrap_new_wxPreWindow
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "new_wxWindow", (PyCFunction
) _wrap_new_wxWindow
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxPyValidator__setCallbackInfo", (PyCFunction
) _wrap_wxPyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "new_wxPyValidator", (PyCFunction
) _wrap_new_wxPyValidator
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxValidator_SetBellOnError", (PyCFunction
) _wrap_wxValidator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxValidator_IsSilent", (PyCFunction
) _wrap_wxValidator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxValidator_SetWindow", (PyCFunction
) _wrap_wxValidator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxValidator_GetWindow", (PyCFunction
) _wrap_wxValidator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxValidator_Clone", (PyCFunction
) _wrap_wxValidator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "new_wxValidator", (PyCFunction
) _wrap_new_wxValidator
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxEvtHandler__setOORInfo", (PyCFunction
) _wrap_wxEvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxEvtHandler_Disconnect", (PyCFunction
) _wrap_wxEvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxEvtHandler_Connect", (PyCFunction
) _wrap_wxEvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxEvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxEvtHandler_SetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxEvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_wxEvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxEvtHandler_GetNextHandler", (PyCFunction
) _wrap_wxEvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxEvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxEvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_wxEvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxEvtHandler_AddPendingEvent", (PyCFunction
) _wrap_wxEvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxEvtHandler_ProcessEvent", (PyCFunction
) _wrap_wxEvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "new_wxEvtHandler", (PyCFunction
) _wrap_new_wxEvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
11320 * This table is used by the pointer type-checker
11322 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11323 { "_signed_long","_long",0},
11324 { "_wxPrintQuality","_wxCoord",0},
11325 { "_wxPrintQuality","_int",0},
11326 { "_wxPrintQuality","_signed_int",0},
11327 { "_wxPrintQuality","_unsigned_int",0},
11328 { "_wxPrintQuality","_wxWindowID",0},
11329 { "_wxPrintQuality","_uint",0},
11330 { "_wxPrintQuality","_EBool",0},
11331 { "_wxPrintQuality","_size_t",0},
11332 { "_wxPrintQuality","_time_t",0},
11333 { "_byte","_unsigned_char",0},
11334 { "_long","_unsigned_long",0},
11335 { "_long","_signed_long",0},
11336 { "_size_t","_wxCoord",0},
11337 { "_size_t","_wxPrintQuality",0},
11338 { "_size_t","_time_t",0},
11339 { "_size_t","_unsigned_int",0},
11340 { "_size_t","_int",0},
11341 { "_size_t","_wxWindowID",0},
11342 { "_size_t","_uint",0},
11343 { "_wxPanel","_wxScrolledWindow",SwigwxScrolledWindowTowxPanel
},
11344 { "_uint","_wxCoord",0},
11345 { "_uint","_wxPrintQuality",0},
11346 { "_uint","_time_t",0},
11347 { "_uint","_size_t",0},
11348 { "_uint","_unsigned_int",0},
11349 { "_uint","_int",0},
11350 { "_uint","_wxWindowID",0},
11351 { "_wxChar","_char",0},
11352 { "_char","_wxChar",0},
11353 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11354 { "_EBool","_wxCoord",0},
11355 { "_EBool","_wxPrintQuality",0},
11356 { "_EBool","_signed_int",0},
11357 { "_EBool","_int",0},
11358 { "_EBool","_wxWindowID",0},
11359 { "_unsigned_long","_long",0},
11360 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11361 { "_signed_int","_wxCoord",0},
11362 { "_signed_int","_wxPrintQuality",0},
11363 { "_signed_int","_EBool",0},
11364 { "_signed_int","_wxWindowID",0},
11365 { "_signed_int","_int",0},
11366 { "_WXTYPE","_short",0},
11367 { "_WXTYPE","_signed_short",0},
11368 { "_WXTYPE","_unsigned_short",0},
11369 { "_unsigned_short","_WXTYPE",0},
11370 { "_unsigned_short","_short",0},
11371 { "_wxObject","_wxMenuItem",SwigwxMenuItemTowxObject
},
11372 { "_wxObject","_wxMenuBar",SwigwxMenuBarTowxObject
},
11373 { "_wxObject","_wxMenu",SwigwxMenuTowxObject
},
11374 { "_wxObject","_wxScrolledWindow",SwigwxScrolledWindowTowxObject
},
11375 { "_wxObject","_wxPanel",SwigwxPanelTowxObject
},
11376 { "_wxObject","_wxWindow",SwigwxWindowTowxObject
},
11377 { "_wxObject","_wxPyValidator",SwigwxPyValidatorTowxObject
},
11378 { "_wxObject","_wxValidator",SwigwxValidatorTowxObject
},
11379 { "_wxObject","_wxEvtHandler",SwigwxEvtHandlerTowxObject
},
11380 { "_signed_short","_WXTYPE",0},
11381 { "_signed_short","_short",0},
11382 { "_unsigned_char","_byte",0},
11383 { "_unsigned_int","_wxCoord",0},
11384 { "_unsigned_int","_wxPrintQuality",0},
11385 { "_unsigned_int","_time_t",0},
11386 { "_unsigned_int","_size_t",0},
11387 { "_unsigned_int","_uint",0},
11388 { "_unsigned_int","_wxWindowID",0},
11389 { "_unsigned_int","_int",0},
11390 { "_short","_WXTYPE",0},
11391 { "_short","_unsigned_short",0},
11392 { "_short","_signed_short",0},
11393 { "_wxWindowID","_wxCoord",0},
11394 { "_wxWindowID","_wxPrintQuality",0},
11395 { "_wxWindowID","_time_t",0},
11396 { "_wxWindowID","_size_t",0},
11397 { "_wxWindowID","_EBool",0},
11398 { "_wxWindowID","_uint",0},
11399 { "_wxWindowID","_int",0},
11400 { "_wxWindowID","_signed_int",0},
11401 { "_wxWindowID","_unsigned_int",0},
11402 { "_int","_wxCoord",0},
11403 { "_int","_wxPrintQuality",0},
11404 { "_int","_time_t",0},
11405 { "_int","_size_t",0},
11406 { "_int","_EBool",0},
11407 { "_int","_uint",0},
11408 { "_int","_wxWindowID",0},
11409 { "_int","_unsigned_int",0},
11410 { "_int","_signed_int",0},
11411 { "_time_t","_wxCoord",0},
11412 { "_time_t","_wxPrintQuality",0},
11413 { "_time_t","_unsigned_int",0},
11414 { "_time_t","_int",0},
11415 { "_time_t","_wxWindowID",0},
11416 { "_time_t","_uint",0},
11417 { "_time_t","_size_t",0},
11418 { "_wxValidator","_wxPyValidator",SwigwxPyValidatorTowxValidator
},
11419 { "_wxCoord","_int",0},
11420 { "_wxCoord","_signed_int",0},
11421 { "_wxCoord","_unsigned_int",0},
11422 { "_wxCoord","_wxWindowID",0},
11423 { "_wxCoord","_uint",0},
11424 { "_wxCoord","_EBool",0},
11425 { "_wxCoord","_size_t",0},
11426 { "_wxCoord","_time_t",0},
11427 { "_wxCoord","_wxPrintQuality",0},
11428 { "_wxEvtHandler","_wxMenuBar",SwigwxMenuBarTowxEvtHandler
},
11429 { "_wxEvtHandler","_wxMenu",SwigwxMenuTowxEvtHandler
},
11430 { "_wxEvtHandler","_wxScrolledWindow",SwigwxScrolledWindowTowxEvtHandler
},
11431 { "_wxEvtHandler","_wxPanel",SwigwxPanelTowxEvtHandler
},
11432 { "_wxEvtHandler","_wxWindow",SwigwxWindowTowxEvtHandler
},
11433 { "_wxEvtHandler","_wxPyValidator",SwigwxPyValidatorTowxEvtHandler
},
11434 { "_wxEvtHandler","_wxValidator",SwigwxValidatorTowxEvtHandler
},
11435 { "_wxWindow","_wxMenuBar",SwigwxMenuBarTowxWindow
},
11436 { "_wxWindow","_wxScrolledWindow",SwigwxScrolledWindowTowxWindow
},
11437 { "_wxWindow","_wxPanel",SwigwxPanelTowxWindow
},
11440 static PyObject
*SWIG_globals
;
11444 SWIGEXPORT(void) initwindowsc() {
11446 SWIG_globals
= SWIG_newvarlink();
11447 m
= Py_InitModule("windowsc", windowscMethods
);
11448 d
= PyModule_GetDict(m
);
11451 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11452 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);